Enum Class FileProcessorAction

java.lang.Object
java.lang.Enum<FileProcessorAction>
com.jalios.jcms.fileprocessor.ui.FileProcessorAction
All Implemented Interfaces:
Serializable, Comparable<FileProcessorAction>, Constable

public enum FileProcessorAction extends Enum<FileProcessorAction>
FileProcessor action which can be triggered by administrators.
Since:
JCMS-5109
  • Enum Constant Details

  • Method Details

    • values

      public static FileProcessorAction[] 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

      public static FileProcessorAction valueOf(String name)
      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 name
      NullPointerException - 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 replica
      repository - the repository for which action is performed, must not be null
      filesShortName - the files on which action is applied (path relative to repository base directory), must not be null
      actionComponentClass - an optional component class on which action is filtered