Enum Class CoAccreditedRemoteImportCDMFrComponent.SharedWithType
java.lang.Object
java.lang.Enum<CoAccreditedRemoteImportCDMFrComponent.SharedWithType>
org.ametys.plugins.odfsync.cdmfr.components.impl.CoAccreditedRemoteImportCDMFrComponent.SharedWithType
- All Implemented Interfaces:
Serializable
,Comparable<CoAccreditedRemoteImportCDMFrComponent.SharedWithType>
,java.lang.constant.Constable
- Enclosing class:
- CoAccreditedRemoteImportCDMFrComponent
public static enum CoAccreditedRemoteImportCDMFrComponent.SharedWithType
extends Enum<CoAccreditedRemoteImportCDMFrComponent.SharedWithType>
Enum to define the way to detect shared subProgram
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionShared subProgram are not handledAll subProgram with the same title are shared.The main subProgram set the other shared program in the metadata "shared-with" -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WITH_SHARED_METADATA
The main subProgram set the other shared program in the metadata "shared-with" -
WITH_SAME_TITLE
All subProgram with the same title are shared. The first imported subProgram is the main subProgram. -
NONE
Shared subProgram are not handled
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-