Package nl.vpro.domain.media.update
Enum AssemblageConfig.RequireEnum
- java.lang.Object
-
- java.lang.Enum<AssemblageConfig.RequireEnum>
-
- nl.vpro.domain.media.update.AssemblageConfig.RequireEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<AssemblageConfig.RequireEnum>
- Enclosing class:
- AssemblageConfig
public static enum AssemblageConfig.RequireEnum extends Enum<AssemblageConfig.RequireEnum>
- Since:
- 5.13
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELSE_SKIP
If not given, the entire associated object will be skipped without error (but warnings probably).IF_TARGET_EMPTY
Only required to give this if the target object lacks this.NO
Required, if not given, it will still work.YES
Required, if not given, give an error.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AssemblageConfig.RequireEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static AssemblageConfig.RequireEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YES
public static final AssemblageConfig.RequireEnum YES
Required, if not given, give an error. E.g. the MID may be required
-
NO
public static final AssemblageConfig.RequireEnum NO
Required, if not given, it will still work. E.g. a MID can be generated
-
IF_TARGET_EMPTY
public static final AssemblageConfig.RequireEnum 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
public static final AssemblageConfig.RequireEnum 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 Detail
-
values
public static AssemblageConfig.RequireEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AssemblageConfig.RequireEnum c : AssemblageConfig.RequireEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssemblageConfig.RequireEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-