Enum PageSizeConformityDocumentProcessor.InterventionMode
- java.lang.Object
-
- java.lang.Enum<PageSizeConformityDocumentProcessor.InterventionMode>
-
- com.levigo.jadice.server.documentplatform.document.processor.PageSizeConformityDocumentProcessor.InterventionMode
-
- All Implemented Interfaces:
Serializable
,Comparable<PageSizeConformityDocumentProcessor.InterventionMode>
- Enclosing class:
- PageSizeConformityDocumentProcessor
public static enum PageSizeConformityDocumentProcessor.InterventionMode extends Enum<PageSizeConformityDocumentProcessor.InterventionMode>
Enum controlling how to intervene when a page page doesn't conform to the required 3pt x 3pt minimum dimensions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT
The purpose of this mode is to abort the current document processing by throwing an IllegalStateException.REMOVE
This mode removes pages that don't conform to the required 3pt x 3pt minimum dimensions.RESCALE
This mode applies a fixup for pages that don't conform to the required 3pt x 3pt minimum dimensions.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageSizeConformityDocumentProcessor.InterventionMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static PageSizeConformityDocumentProcessor.InterventionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORT
public static final PageSizeConformityDocumentProcessor.InterventionMode ABORT
The purpose of this mode is to abort the current document processing by throwing an IllegalStateException.
-
RESCALE
public static final PageSizeConformityDocumentProcessor.InterventionMode RESCALE
This mode applies a fixup for pages that don't conform to the required 3pt x 3pt minimum dimensions.
-
REMOVE
public static final PageSizeConformityDocumentProcessor.InterventionMode REMOVE
This mode removes pages that don't conform to the required 3pt x 3pt minimum dimensions.
-
-
Method Detail
-
values
public static PageSizeConformityDocumentProcessor.InterventionMode[] 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 (PageSizeConformityDocumentProcessor.InterventionMode c : PageSizeConformityDocumentProcessor.InterventionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageSizeConformityDocumentProcessor.InterventionMode 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
-
-