Package com.jalios.jcms.fileprocessor.ui
Enum Class FileProcessorAction
- All Implemented Interfaces:
Serializable,Comparable<FileProcessorAction>,Constable
FileProcessor action which can be triggered by administrators.
- Since:
- JCMS-5109
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract voidprocess(boolean first, Repository repository, String[] filesShortName, Class<? extends FileActionComponent> actionComponentClass) Process the action.static FileProcessorActionReturns the enum constant of this class with the specified name.static FileProcessorAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLACKLIST
-
UNBLACKLIST
-
SUBMIT_AGAIN
-
-
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
-
process
public abstract void process(boolean first, Repository repository, String[] filesShortName, Class<? extends FileActionComponent> actionComponentClass) Process the action.- Parameters:
first- set to true if method is invoked on the replica on which action was requested, false if action is the replay on other replicarepository- the repository for which action is performed, must not be nullfilesShortName- the files on which action is applied (path relative to repository base directory), must not be nullactionComponentClass- an optional component class on which action is filtered
-