Package com.jalios.jcms.fileprocessor
Enum Class FileActionComponent.Operation
java.lang.Object
java.lang.Enum<FileActionComponent.Operation>
com.jalios.jcms.fileprocessor.FileActionComponent.Operation
- All Implemented Interfaces:
Serializable,Comparable<FileActionComponent.Operation>,Constable
- Enclosing interface:
FileActionComponent
Possible operation detected on a file
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFile was just created.File was detected as new or updated in a directory.File was just deleted.File was not modified but a previous operation was postponed.File was updated, or a generic update was requested through User Interface. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FileActionComponent.Operation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_CREATE
File was just created.Used only when file(s) are submitted after FileDocument creation through
FileProcessorDBListenerStoreListener. -
FILE_UPDATE
File was updated, or a generic update was requested through User Interface.Used when file is submitted by
FileProcessorDBListenerStoreListenerafter FileDocument update or through any UI handler such asFileProcessorAdminHandleror PdfConverterAdminHandler in plugins. -
FILE_CREATE_OR_UPDATE
File was detected as new or updated in a directory.Used only when file(s) are submitted through detection of
DirectoryScanner. -
FILE_OPERATION_POSTPONED
File was not modified but a previous operation was postponed.Used only when file(s) are submitted through
FileProcessorPostponedAlarmListener. -
FILE_DELETE
File was just deleted.Used only when file(s) are submitted after FileDocument deletion through
FileProcessorDBListenerStoreListener.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-