Package org.cip4.jdflib.core
Class JDFElement.EnumSettingsPolicy
java.lang.Object
org.apache.commons.lang.enums.Enum
org.apache.commons.lang.enums.ValuedEnum
org.cip4.jdflib.core.JDFElement.EnumSettingsPolicy
- All Implemented Interfaces:
Serializable,Comparable
- Enclosing class:
- JDFElement
The policy for this element indicates what happens when unsupported settings, (i.e., subelements, attributes or attribute values), are present in the element. Possible
values are:
- BestEffort - Substitute or ignore unsupported attributes, attribute values, default attribute values, or elements and continue processing the job.
- MustHonor - Reject the job when any unsupported attributes, attribute values, or elements are present.
- OperatorIntervention - Pause job and query the operator when any unsupported attributes, attribute values, or elements are present. If a device has no operator
intervention capabilities, OperatorIntervention is treated as MustHonor.
If not specified, SettingsPolicy is inherited from the parent element, and if not specified in the parent element or further superior element, the default value defaults to "BestEffort". In JDF 1.1 SettingsPolicy was specified in "Contents of a JDF node" and "Contents of the abstract Resource element". It has been removed from JDF node and Resource and been promoted to all JDF elements.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JDFElement.EnumSettingsPolicystatic final JDFElement.EnumSettingsPolicystatic final JDFElement.EnumSettingsPolicy -
Method Summary
Methods inherited from class org.apache.commons.lang.enums.ValuedEnum
compareTo, getEnum, getValue, toStringMethods inherited from class org.apache.commons.lang.enums.Enum
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve
-
Field Details
-
BestEffort
-
MustHonor
-
OperatorIntervention
-
-
Method Details
-
getEnum
- Parameters:
enumName- the name of the enum object to return- Returns:
- the enum object if enumName is valid. Otherwise null
-
getEnum
- Parameters:
enumValue- the value of the enum object to return- Returns:
- the enum object if enumName is valid. Otherwise null
-
getEnumMap
- Returns:
- a map of all orientation enums
-
getEnumList
- Returns:
- a list of all orientation enums
-
iterator
- Returns:
- an iterator over the enum objects
-