Enum Class TimeCondition

java.lang.Object
java.lang.Enum<TimeCondition>
ml.karmaconfigs.api.common.timer.TimeCondition
All Implemented Interfaces:
Serializable, Comparable<TimeCondition>, java.lang.constant.Constable

public enum TimeCondition extends Enum<TimeCondition>
Schedulers timers condition
  • Enum Constant Details

    • MINUS_TO

      public static final TimeCondition MINUS_TO
      If the time is under X
    • OVER_OF

      public static final TimeCondition OVER_OF
      If the time is over X
    • EQUALS

      public static final TimeCondition EQUALS
      If the time is X
  • Method Details

    • values

      public static TimeCondition[] 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 TimeCondition 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