java.lang.Object
java.lang.Enum<Action>
com.orchestranetworks.addon.dama.ext.enumeration.Action
All Implemented Interfaces:
Serializable, Comparable<Action>, Constable

public enum Action extends Enum<Action>
Defines the action to apply on new digital assets when uploading.

The possible actions are:

  • Attach Attach all new digital assets to the media field.
  • Nothing Only upload assets without attaching to the media field.
Since:
1.6.0
  • Enum Constant Details

    • ATTACH

      public static final Action ATTACH
      Option to upload and attach.
    • NOTHING

      public static final Action NOTHING
      Option to upload only.
  • Method Details

    • values

      public static Action[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Action 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 name
      NullPointerException - if the argument is null
    • parse

      public static Action parse(String type)
      Parses the action.
      Parameters:
      type - the type
      Returns:
      the action
    • isAttach

      public boolean isAttach()
      Checks whether the action is set to attach.
    • isNothing

      public boolean isNothing()
      Checks whether the action is set to nothing.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Action>