Class ActivationStatus

java.lang.Object
csw.alarm.models.ActivationStatus
All Implemented Interfaces:
enumeratum.EnumEntry, enumeratum.EnumEntry.Lowercase
Direct Known Subclasses:
ActivationStatus.Active$, ActivationStatus.Inactive$

public abstract class ActivationStatus extends Object implements enumeratum.EnumEntry, enumeratum.EnumEntry.Lowercase
Represents the activation status of an alarm. The activation status of an alarm is configured in the alarm config file. The activation status of an alarm does not change during it's lifespan.
  • Constructor Details

    • ActivationStatus

      public ActivationStatus()
  • Method Details

    • namesToValuesMap

      public static scala.collection.immutable.Map<String,ActivationStatus> namesToValuesMap()
    • lowerCaseNamesToValuesMap

      public static final scala.collection.immutable.Map<String,ActivationStatus> lowerCaseNamesToValuesMap()
    • upperCaseNameValuesToMap

      public static final scala.collection.immutable.Map<String,ActivationStatus> upperCaseNameValuesToMap()
    • valuesToIndex

      public static final scala.collection.immutable.Map<ActivationStatus,Object> valuesToIndex()
    • values

      public static scala.collection.immutable.IndexedSeq<ActivationStatus> values()
      Returns a collection of ActivationStatus e.g active and inactive
      Returns:
      (undocumented)
    • extraNamesToValuesMap

      public static scala.collection.immutable.Map<String,A> extraNamesToValuesMap()
    • withName

      public static A withName(String name)
    • withNameOption

      public static scala.Option<A> withNameOption(String name)
    • withNameEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameEither(String name)
    • withNameInsensitive

      public static A withNameInsensitive(String name)
    • withNameUppercaseOnly

      public static A withNameUppercaseOnly(String name)
    • withNameLowercaseOnly

      public static A withNameLowercaseOnly(String name)
    • withNameInsensitiveOption

      public static scala.Option<A> withNameInsensitiveOption(String name)
    • withNameUppercaseOnlyOption

      public static scala.Option<A> withNameUppercaseOnlyOption(String name)
    • withNameLowercaseOnlyOption

      public static scala.Option<A> withNameLowercaseOnlyOption(String name)
    • withNameInsensitiveEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameInsensitiveEither(String name)
    • withNameUppercaseOnlyEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameUppercaseOnlyEither(String name)
    • withNameLowercaseOnlyEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameLowercaseOnlyEither(String name)
    • indexOf

      public static int indexOf(A member)
    • findValues

      protected static scala.collection.immutable.IndexedSeq<A> findValues()
    • enumeratum$Enum$$existingEntriesString

      public static String enumeratum$Enum$$existingEntriesString()
    • name

      public String name()
      The name of ActivationStatus e.g. for Active status, the name will be represented as active
      Returns:
      (undocumented)