Enum Class ChangeType

java.lang.Object
java.lang.Enum<ChangeType>
org.dmfs.gver.git.ChangeType
All Implemented Interfaces:
Serializable, Comparable<ChangeType>, Constable, org.dmfs.jems2.BiFunction<org.dmfs.semver.Version,String,org.dmfs.semver.Version>, org.dmfs.jems2.FragileBiFunction<org.dmfs.semver.Version,String,org.dmfs.semver.Version,RuntimeException>

public enum ChangeType extends Enum<ChangeType> implements org.dmfs.jems2.BiFunction<org.dmfs.semver.Version,String,org.dmfs.semver.Version>
  • Enum Constant Details

  • Method Details

    • values

      public static ChangeType[] 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 ChangeType 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
    • when

      public ChangeTypeStrategy when(Condition condition)
    • value

      public org.dmfs.semver.Version value(org.dmfs.semver.Version old, String preRelease)
      Specified by:
      value in interface org.dmfs.jems2.BiFunction<org.dmfs.semver.Version,String,org.dmfs.semver.Version>
      Specified by:
      value in interface org.dmfs.jems2.FragileBiFunction<org.dmfs.semver.Version,String,org.dmfs.semver.Version,RuntimeException>