Class JDFElement.EnumSettingsPolicy

All Implemented Interfaces:
Serializable, Comparable
Enclosing class:
JDFElement

public static final class JDFElement.EnumSettingsPolicy extends ValuedEnum
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 Details

  • Method Details

    • getEnum

      public static JDFElement.EnumSettingsPolicy getEnum(String enumName)
      Parameters:
      enumName - the name of the enum object to return
      Returns:
      the enum object if enumName is valid. Otherwise null
    • getEnum

      public static JDFElement.EnumSettingsPolicy getEnum(int enumValue)
      Parameters:
      enumValue - the value of the enum object to return
      Returns:
      the enum object if enumName is valid. Otherwise null
    • getEnumMap

      public static Map getEnumMap()
      Returns:
      a map of all orientation enums
    • getEnumList

      public static List getEnumList()
      Returns:
      a list of all orientation enums
    • iterator

      public static Iterator iterator()
      Returns:
      an iterator over the enum objects