Enum ReplicationActionType

java.lang.Object
java.lang.Enum<ReplicationActionType>
com.day.cq.replication.ReplicationActionType
All Implemented Interfaces:
Serializable, Comparable<ReplicationActionType>, java.lang.constant.Constable

public enum ReplicationActionType extends Enum<ReplicationActionType>
The type of the replication action.
  • Enum Constant Details

  • Method Details

    • values

      public static ReplicationActionType[] 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 ReplicationActionType 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
    • getName

      public String getName()
      Returns the human readable type name of this type.
      Returns:
      the name
    • fromName

      public static ReplicationActionType fromName(String n)
      Creates an action type for the given name. if the name cannot be mapped to a enum type or if it's null, null is returned.
      Parameters:
      n - the name
      Returns:
      the type or null