Class AlarmType

java.lang.Object
csw.alarm.models.AlarmType
All Implemented Interfaces:
enumeratum.EnumEntry, enumeratum.EnumEntry.Lowercase
Direct Known Subclasses:
AlarmType.Absolute$, AlarmType.BitPattern$, AlarmType.Calculated$, AlarmType.Deviation$, AlarmType.Discrepancy$, AlarmType.Instrument$, AlarmType.RateChange$, AlarmType.RecipeDriven$, AlarmType.Safety$, AlarmType.Statistical$, AlarmType.System$

public abstract class AlarmType extends Object implements enumeratum.EnumEntry, enumeratum.EnumEntry.Lowercase
Represents the category of the Alarm. The type of an alarm is configured in the alarm config file which will be fixed for it's entire life span.
  • Constructor Details

    • AlarmType

      public AlarmType()
  • Method Details

    • namesToValuesMap

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

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

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

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

      public static scala.collection.immutable.IndexedSeq<AlarmType> values()
      Returns a sequence of all alarm types e.g. Absolute, BitPattern, Calculated etc.
      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 the AlarmType e.g. for Absolute type of alarms, the name will be represented as absolute
      Returns:
      (undocumented)