Enum Class IgnoreFile.Target

java.lang.Object
java.lang.Enum<IgnoreFile.Target>
io.github.jbastgen.stemma.app.git.IgnoreFile.Target
All Implemented Interfaces:
Serializable, Comparable<IgnoreFile.Target>, Constable
Enclosing class:
IgnoreFile

public static enum IgnoreFile.Target extends Enum<IgnoreFile.Target>
The files a line can go to.
  • Enum Constant Details

  • Field Details

    • file

      public final String file
    • note

      public final String note
  • Method Details

    • values

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

      public static IgnoreFile.Target valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • key

      public String key()
      The value in the settings.
    • of

      public static IgnoreFile.Target of(String key)
      The target of a settings value; anything but exclude is .gitignore.
    • other

      public IgnoreFile.Target other()
      The other target.