Package nl.vpro.domain.media.update
Enum Class AssemblageConfig.RequireEnum
java.lang.Object
java.lang.Enum<AssemblageConfig.RequireEnum>
nl.vpro.domain.media.update.AssemblageConfig.RequireEnum
- All Implemented Interfaces:
Serializable
,Comparable<AssemblageConfig.RequireEnum>
,Constable
- Enclosing class:
- AssemblageConfig
- Since:
- 5.13
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf not given, the entire associated object will be skipped without error (but warnings probably).Only required to give this if the target object lacks this.Required, if not given, it will still work.Required, if not given, give an error. -
Method Summary
Modifier and TypeMethodDescriptionstatic AssemblageConfig.RequireEnum
Returns the enum constant of this class with the specified name.static AssemblageConfig.RequireEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YES
Required, if not given, give an error. E.g. the MID may be required -
NO
Required, if not given, it will still work. E.g. a MID can be generated -
IF_TARGET_EMPTY
Only required to give this if the target object lacks this. E.g. an object may have been matced on crid, and then existing object provides the MID -
ELSE_SKIP
If not given, the entire associated object will be skipped without error (but warnings probably). E.g. an incoming object from PREPR can be ignored.
-
-
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
-