Class FullAlarmSeverity

  • All Implemented Interfaces:
    enumeratum.EnumEntry
    Direct Known Subclasses:
    AlarmSeverity, FullAlarmSeverity.Disconnected$

    public abstract class FullAlarmSeverity
    extends java.lang.Object
    implements enumeratum.EnumEntry
    Represents all the severities an alarm can have including Disconnected. The complete list of severities is Okay, Warning, Major, Indeterminate, Disconnected, Critical.

    param: level is a fundamental value in comparing severities

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FullAlarmSeverity.Disconnected$
      Represents the disconnected state of an alarm.
      • Nested classes/interfaces inherited from interface enumeratum.EnumEntry

        enumeratum.EnumEntry.Camelcase, enumeratum.EnumEntry.CapitalDotcase, enumeratum.EnumEntry.CapitalHyphencase, enumeratum.EnumEntry.CapitalSnakecase, enumeratum.EnumEntry.CapitalWords, enumeratum.EnumEntry.Dotcase, enumeratum.EnumEntry.EnumEntryOps<A extends enumeratum.EnumEntry>, enumeratum.EnumEntry.EnumEntryOps$, enumeratum.EnumEntry.Hyphencase, enumeratum.EnumEntry.LowerCamelcase, enumeratum.EnumEntry.Lowercase, enumeratum.EnumEntry.Snakecase, enumeratum.EnumEntry.Uncapitalised, enumeratum.EnumEntry.Uppercase, enumeratum.EnumEntry.UpperDotcase, enumeratum.EnumEntry.UpperHyphencase, enumeratum.EnumEntry.UpperSnakecase, enumeratum.EnumEntry.UpperWords, enumeratum.EnumEntry.Words
    • Constructor Summary

      Constructors 
      Constructor Description
      FullAlarmSeverity​(int level)  
    • Constructor Detail

      • FullAlarmSeverity

        public FullAlarmSeverity​(int level)
    • Method Detail

      • namesToValuesMap

        public static scala.collection.immutable.Map<java.lang.String,​FullAlarmSeverity> namesToValuesMap()
      • lowerCaseNamesToValuesMap

        public static final scala.collection.immutable.Map<java.lang.String,​FullAlarmSeverity> lowerCaseNamesToValuesMap()
      • upperCaseNameValuesToMap

        public static final scala.collection.immutable.Map<java.lang.String,​FullAlarmSeverity> upperCaseNameValuesToMap()
      • valuesToIndex

        public static final scala.collection.immutable.Map<FullAlarmSeverity,​java.lang.Object> valuesToIndex()
      • values

        public static scala.collection.immutable.IndexedSeq<FullAlarmSeverity> values()
        Returns a sequence of all alarm severity
        Returns:
        (undocumented)
      • extraNamesToValuesMap

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

        public static A withName​(java.lang.String name)
      • withNameOption

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

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

        public static A withNameInsensitive​(java.lang.String name)
      • withNameUppercaseOnly

        public static A withNameUppercaseOnly​(java.lang.String name)
      • withNameLowercaseOnly

        public static A withNameLowercaseOnly​(java.lang.String name)
      • withNameInsensitiveOption

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

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

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

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

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

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

        public static int indexOf​(A member)
      • findValues

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

        public static java.lang.String enumeratum$Enum$$existingEntriesString()
      • level

        public int level()
      • name

        public java.lang.String name()
        The name of Severity e.g. for Major, the name will be represented as major
        Returns:
        (undocumented)