Enum GitInfoConsumer.LineParts

java.lang.Object
java.lang.Enum<GitInfoConsumer.LineParts>
org.apache.maven.scm.provider.git.gitexe.command.info.GitInfoConsumer.LineParts
All Implemented Interfaces:
Serializable, Comparable<GitInfoConsumer.LineParts>
Enclosing class:
GitInfoConsumer

static enum GitInfoConsumer.LineParts extends Enum<GitInfoConsumer.LineParts>
Since:
1.5
  • Enum Constant Details

  • Field Details

    • index

      private final int index
  • Constructor Details

    • LineParts

      private LineParts(int index)
  • Method Details

    • values

      public static GitInfoConsumer.LineParts[] 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 GitInfoConsumer.LineParts 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
    • getIndex

      public int getIndex()