Enum Class Kind

java.lang.Object
java.lang.Enum<Kind>
io.github.jbastgen.stemma.gitflow.Kind
All Implemented Interfaces:
Serializable, Comparable<Kind>, Constable

public enum Kind extends Enum<Kind>
The kinds of Git Flow branches the application starts and finishes.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Branches from the development branch, merges back into it.
    Branches from production; finished into production (tagged) and back into development.
    Branches from the development branch; finished into production (tagged) and back into development.
  • Method Summary

    Modifier and Type
    Method
    Description
    The lower-case name, as used in messages and in the git flow command line.
    static Kind
    Returns the enum constant of this class with the specified name.
    static Kind[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FEATURE

      public static final Kind FEATURE
      Branches from the development branch, merges back into it.
    • RELEASE

      public static final Kind RELEASE
      Branches from the development branch; finished into production (tagged) and back into development.
    • HOTFIX

      public static final Kind HOTFIX
      Branches from production; finished into production (tagged) and back into development.
  • Method Details

    • values

      public static Kind[] 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 Kind 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
    • label

      public String label()
      The lower-case name, as used in messages and in the git flow command line.