public enum ServerState extends Enum<ServerState> implements UaEnumeration
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerState.Codec |
| Enum Constant and Description |
|---|
CommunicationFault |
Failed |
NoConfiguration |
Running |
Shutdown |
Suspended |
Test |
Unknown |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable ServerState |
from(int value) |
static ExpandedNodeId |
getTypeId() |
int |
getValue() |
static ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerState Running
public static final ServerState Failed
public static final ServerState NoConfiguration
public static final ServerState Suspended
public static final ServerState Shutdown
public static final ServerState Test
public static final ServerState CommunicationFault
public static final ServerState Unknown
public static ServerState[] values()
for (ServerState c : ServerState.values()) System.out.println(c);
public static ServerState 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 int getValue()
getValue in interface UaEnumeration@Nullable public static @Nullable ServerState from(int value)
public static ExpandedNodeId getTypeId()
Copyright © 2025. All rights reserved.