Package csw.alarm.models
Class AcknowledgementStatus
java.lang.Object
csw.alarm.models.AcknowledgementStatus
- All Implemented Interfaces:
enumeratum.EnumEntry
,enumeratum.EnumEntry.Lowercase
- Direct Known Subclasses:
AcknowledgementStatus.Acknowledged$
,AcknowledgementStatus.Unacknowledged$
public abstract class AcknowledgementStatus
extends Object
implements enumeratum.EnumEntry, enumeratum.EnumEntry.Lowercase
Represents whether the alarm is acknowledged or not. Whenever the severity of an alarm changes (other than Okay),
alarm service changes the status to
Unacknowledged
. Operator is then required to acknowledge the alarm.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the acknowledged status of the alarmstatic class
Represents unacknowledged status 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static scala.collection.immutable.Map<String,
A> protected static scala.collection.immutable.IndexedSeq<A>
static int
indexOf
(A member) static final scala.collection.immutable.Map<String,
AcknowledgementStatus> name()
The name of AcknowledgementStatus e.g.static scala.collection.immutable.Map<String,
AcknowledgementStatus> static final scala.collection.immutable.Map<String,
AcknowledgementStatus> static scala.collection.immutable.IndexedSeq<AcknowledgementStatus>
values()
Returns the collection ofAcknowledgementStatus
e.g.static final scala.collection.immutable.Map<AcknowledgementStatus,
Object> static A
static scala.util.Either<enumeratum.NoSuchMember<A>,
A> withNameEither
(String name) static A
withNameInsensitive
(String name) static scala.util.Either<enumeratum.NoSuchMember<A>,
A> static scala.Option<A>
static A
withNameLowercaseOnly
(String name) static scala.util.Either<enumeratum.NoSuchMember<A>,
A> static scala.Option<A>
static scala.Option<A>
withNameOption
(String name) static A
withNameUppercaseOnly
(String name) static scala.util.Either<enumeratum.NoSuchMember<A>,
A> static scala.Option<A>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface enumeratum.EnumEntry
enumeratum$EnumEntry$$stableEntryName
Methods inherited from interface enumeratum.EnumEntry.Lowercase
entryName, enumeratum$EnumEntry$Lowercase$$stableEntryName
-
Constructor Details
-
AcknowledgementStatus
public AcknowledgementStatus()
-
-
Method Details
-
namesToValuesMap
-
lowerCaseNamesToValuesMap
public static final scala.collection.immutable.Map<String,AcknowledgementStatus> lowerCaseNamesToValuesMap() -
upperCaseNameValuesToMap
public static final scala.collection.immutable.Map<String,AcknowledgementStatus> upperCaseNameValuesToMap() -
valuesToIndex
-
values
Returns the collection ofAcknowledgementStatus
e.g. acknowledged and unacknowledged- Returns:
- (undocumented)
-
extraNamesToValuesMap
-
withName
-
withNameOption
-
withNameEither
-
withNameInsensitive
-
withNameUppercaseOnly
-
withNameLowercaseOnly
-
withNameInsensitiveOption
-
withNameUppercaseOnlyOption
-
withNameLowercaseOnlyOption
-
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
-
name
The name of AcknowledgementStatus e.g. forAcknowledged
status, the name will be represented asacknowledged
- Returns:
- (undocumented)
-