Enum Class OutputVars

java.lang.Object
java.lang.Enum<OutputVars>
me.julb.applications.github.actions.OutputVars
All Implemented Interfaces:
Serializable, Comparable<OutputVars>, Constable

enum OutputVars extends Enum<OutputVars>
The output variables.
Author:
Julb.
  • Enum Constant Details

    • ORIGINAL_VERSION

      public static final OutputVars ORIGINAL_VERSION
      The version.
    • VERSION

      public static final OutputVars VERSION
      The version.
    • SHA_BUILD_VERSION

      public static final OutputVars SHA_BUILD_VERSION
      The version with the sha as build number.
    • TIMESTAMP_BUILD_VERSION

      public static final OutputVars TIMESTAMP_BUILD_VERSION
      The version with a timestamp.
    • TIMESTAMP_SHA_BUILD_VERSION

      public static final OutputVars TIMESTAMP_SHA_BUILD_VERSION
      The version with a timestamp and a SHAs.
    • SHA_BUILD_VERSION_BUILD

      public static final OutputVars SHA_BUILD_VERSION_BUILD
      The SHA used to build the version number.
    • TIMESTAMP_BUILD_VERSION_BUILD

      public static final OutputVars TIMESTAMP_BUILD_VERSION_BUILD
      The timestamp used to build the version number.
    • TIMESTAMP_SHA_BUILD_VERSION_BUILD

      public static final OutputVars TIMESTAMP_SHA_BUILD_VERSION_BUILD
      The timestamp/SHA used to build the version number.
    • DOCKER_TAG

      public static final OutputVars DOCKER_TAG
      The docker tag with the version number
    • DOCKER_SHA_BUILD_TAG

      public static final OutputVars DOCKER_SHA_BUILD_TAG
      The docker tag with the sha as build number.
    • DOCKER_TIMESTAMP_BUILD_TAG

      public static final OutputVars DOCKER_TIMESTAMP_BUILD_TAG
      The docker tag with a timestamp.
    • DOCKER_TIMESTAMP_SHA_BUILD_TAG

      public static final OutputVars DOCKER_TIMESTAMP_SHA_BUILD_TAG
      The docker tag with a timestamp and a SHAs.
  • Method Details

    • values

      public static OutputVars[] 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 OutputVars 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()
      Getter for property key.
      Returns:
      Value of property key.