Enum EffectObservation.Source

java.lang.Object
java.lang.Enum<EffectObservation.Source>
privbot.effects.EffectObservation.Source
All Implemented Interfaces:
Serializable, Comparable<EffectObservation.Source>, java.lang.constant.Constable
Enclosing class:
EffectObservation

public static enum EffectObservation.Source extends Enum<EffectObservation.Source>
  • Enum Constant Details

    • CHAT_ESTIMATE

      public static final EffectObservation.Source CHAT_ESTIMATE
      A recognized server chat message started a duration estimate.
    • LOCAL_TIMER_ESTIMATE

      public static final EffectObservation.Source LOCAL_TIMER_ESTIMATE
      A caller explicitly started a local timer, for example after a drink attempt.
    • ESTIMATED_EXPIRY

      public static final EffectObservation.Source ESTIMATED_EXPIRY
      A previously started estimate reached its strict expiry boundary.
    • CHAT_ENDED

      public static final EffectObservation.Source CHAT_ENDED
      A recognized server message reported that the effect ended.
    • CHAT_DEATH

      public static final EffectObservation.Source CHAT_DEATH
      The server's death message cleared the effect.
    • CHAT_WARNING_INVALIDATED

      public static final EffectObservation.Source CHAT_WARNING_INVALIDATED
      Source policy discarded the timer on an 'about to' warning; actual state is unknown.
    • LOCAL_CLEAR

      public static final EffectObservation.Source LOCAL_CLEAR
      A caller cleared bookkeeping; this does not establish an in-game effect ending.
    • NO_OBSERVATION

      public static final EffectObservation.Source NO_OBSERVATION
    • UNSUPPORTED_PROFILE

      public static final EffectObservation.Source UNSUPPORTED_PROFILE
  • Method Details

    • values

      public static EffectObservation.Source[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EffectObservation.Source valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null