Enum IdentifierCommand.State

java.lang.Object
java.lang.Enum<IdentifierCommand.State>
org.apache.sis.console.IdentifierCommand.State
All Implemented Interfaces:
Serializable, Comparable<IdentifierCommand.State>, java.lang.constant.Constable
Enclosing class:
IdentifierCommand

private static enum IdentifierCommand.State extends Enum<IdentifierCommand.State>
The state to write in the left margin before the identifier. MAINTENANCE NOTE: if this enumeration is modified, update IdentifierState.properties accordingly.
  • Enum Constant Details

  • Field Details

    • text

      final String text
      The string representation.
  • Constructor Details

    • State

      private State(String p)
  • Method Details

    • values

      public static IdentifierCommand.State[] 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 IdentifierCommand.State 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