Enum ReplicationActionType

    • Method Detail

      • values

        public static ReplicationActionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ReplicationActionType c : ReplicationActionType.values())
            System.out.println(c);
        
        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