Class AlarmSeverity

All Implemented Interfaces:
enumeratum.EnumEntry
Direct Known Subclasses:
AlarmSeverity.Critical$, AlarmSeverity.Indeterminate$, AlarmSeverity.Major$, AlarmSeverity.Okay$, AlarmSeverity.Warning$

public abstract class AlarmSeverity extends FullAlarmSeverity
Represents the alarm severity set by the component developer e.g Okay, Warning, Major, Indeterminate, Critical. Disconnected is not a part of AlarmSeverity as it is never set by the component developer.

param: level is fundamental in comparing severities

  • Constructor Details

    • AlarmSeverity

      public AlarmSeverity(int level)
  • Method Details

    • namesToValuesMap

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

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

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

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

      public static scala.collection.immutable.IndexedSeq<AlarmSeverity> values()
      Returns a sequence of all alarm severity (except Disconnected)
      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()
    • level

      public int level()
      Overrides:
      level in class FullAlarmSeverity