Enum Class Variant

java.lang.Object
java.lang.Enum<Variant>
de.hsh.graja.transform.Variant
All Implemented Interfaces:
Serializable, Comparable<Variant>, Constable

public enum Variant extends Enum<Variant>
All possible types of requests, i. e.
  • Backend: plainold only
  • Frontend: plainold or proforma.
  • Enum Constant Details

  • Method Details

    • values

      public static Variant[] 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 Variant 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
    • isFrontend

      public boolean isFrontend()
      Returns:
      true for FRONTEND_GRAJA_PLAINOLD and FRONTEND_GRAJA_PROFORMA.
    • isBackend

      public boolean isBackend()
      Returns:
      true for BACKEND .
    • isGrajaWithProformaAssignment

      public boolean isGrajaWithProformaAssignment()
      Returns:
      true for FRONTEND_GRAJA_PROFORMA
    • isGrajaWithPlainOldAssignment

      public boolean isGrajaWithPlainOldAssignment()
      Returns:
      true for BACKEND, FRONTEND_GRAJA_PLAINOLD