public enum PubSubState extends Enum<PubSubState> implements Enumeration
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubState.Builder |
| Enum Constant and Description |
|---|
Disabled |
Error |
Operational |
Paused |
PreOperational |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<PubSubState> |
ALL |
static EnumSet<PubSubState> |
NONE |
static EnumerationSpecification |
SPECIFICATION |
| Modifier and Type | Method and Description |
|---|---|
static PubSubState.Builder |
builder() |
static UnsignedInteger |
getMask(Collection<PubSubState> list) |
static UnsignedInteger |
getMask(PubSubState... list) |
static EnumSet<PubSubState> |
getSet(int mask) |
static EnumSet<PubSubState> |
getSet(UnsignedInteger mask) |
int |
getValue()
Return the integer value of this enumeration value.
|
EnumerationSpecification |
specification()
Returns the specification of the
Enumeration. |
PubSubState.Builder |
toBuilder()
Returns a builder which can be used to make other instances of the
Enumeration. |
static PubSubState |
valueOf(int value) |
static PubSubState[] |
valueOf(int[] value) |
static PubSubState |
valueOf(Integer value) |
static PubSubState[] |
valueOf(Integer[] value) |
static PubSubState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PubSubState |
valueOf(UnsignedInteger value) |
static PubSubState[] |
valueOf(UnsignedInteger[] value) |
static PubSubState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDescription, getValueAsStringpublic static final PubSubState Disabled
public static final PubSubState Paused
public static final PubSubState Operational
public static final PubSubState Error
public static final PubSubState PreOperational
public static final EnumerationSpecification SPECIFICATION
public static final EnumSet<PubSubState> NONE
public static final EnumSet<PubSubState> ALL
public static PubSubState[] values()
for (PubSubState c : PubSubState.values()) System.out.println(c);
public static PubSubState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic EnumerationSpecification specification()
EnumerationEnumeration.specification in interface Enumerationpublic static PubSubState valueOf(int value)
public static PubSubState valueOf(Integer value)
public static PubSubState valueOf(UnsignedInteger value)
public static PubSubState[] valueOf(int[] value)
public static PubSubState[] valueOf(Integer[] value)
public static PubSubState[] valueOf(UnsignedInteger[] value)
public static UnsignedInteger getMask(PubSubState... list)
public static UnsignedInteger getMask(Collection<PubSubState> list)
public static EnumSet<PubSubState> getSet(UnsignedInteger mask)
public static EnumSet<PubSubState> getSet(int mask)
public int getValue()
EnumerationgetValue in interface Enumerationpublic static PubSubState.Builder builder()
public PubSubState.Builder toBuilder()
EnumerationEnumeration.toBuilder in interface EnumerationCopyright © 2026. All rights reserved.