Enum ProcessingData.Type
- java.lang.Object
-
- java.lang.Enum<ProcessingData.Type>
-
- com.jalios.jcms.fileprocessor.processingmanagement.ProcessingData.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProcessingData.Type>
- Enclosing class:
- ProcessingData
public static enum ProcessingData.Type extends java.lang.Enum<ProcessingData.Type>
Enumeration indicating the source of the file submition.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE
File submitted automatically after FileDocument creation/update throughFileProcessorDBListenerStoreListener
.FILESET
File(s) re-submitted manually throughFileProcessorAdminHandler
/opSubmitAgain.SCANNER
File(s) submitted through detection ofDirectoryScanner
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcessingData.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProcessingData.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCANNER
public static final ProcessingData.Type SCANNER
File(s) submitted through detection ofDirectoryScanner
.
-
FILESET
public static final ProcessingData.Type FILESET
File(s) re-submitted manually throughFileProcessorAdminHandler
/opSubmitAgain.May also be used individually by some plugins or custom development to resubmit several files.
-
FILE
public static final ProcessingData.Type FILE
File submitted automatically after FileDocument creation/update throughFileProcessorDBListenerStoreListener
.May also be used individually by some plugins or custom development to resubmit one file.
-
-
Method Detail
-
values
public static ProcessingData.Type[] 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 (ProcessingData.Type c : ProcessingData.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessingData.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-