Enum Class Hack.Verdict

java.lang.Object
java.lang.Enum<Hack.Verdict>
com.rxcodeforces.api.dto.Hack.Verdict
All Implemented Interfaces:
Serializable, Comparable<Hack.Verdict>, Constable
Enclosing class:
Hack

public static enum Hack.Verdict extends Enum<Hack.Verdict>
Represents the verdicts of a hack.
  • Enum Constant Details

    • HACK_SUCCESSFUL

      public static final Hack.Verdict HACK_SUCCESSFUL
    • HACK_UNSUCCESSFUL

      public static final Hack.Verdict HACK_UNSUCCESSFUL
    • INVALID_INPUT

      public static final Hack.Verdict INVALID_INPUT
    • GENERATOR_INCOMPILABLE

      public static final Hack.Verdict GENERATOR_INCOMPILABLE
    • GENERATOR_CRASHED

      public static final Hack.Verdict GENERATOR_CRASHED
    • IGNORED

      public static final Hack.Verdict IGNORED
    • TESTING

      public static final Hack.Verdict TESTING
    • OTHER

      public static final Hack.Verdict OTHER
  • Method Details

    • values

      public static Hack.Verdict[] 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 Hack.Verdict 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