public enum MemberStatus extends Enum<MemberStatus> implements LifeCycleState
| Enum Constant and Description |
|---|
Active |
Created |
In_Maintenance |
Initialized |
ReadyToShutDown |
Starting |
Suspended |
Terminated |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static MemberStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberStatus[] |
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, valueOfgetNextStatespublic static final MemberStatus Created
public static final MemberStatus Initialized
public static final MemberStatus Starting
public static final MemberStatus Active
public static final MemberStatus In_Maintenance
public static final MemberStatus ReadyToShutDown
public static final MemberStatus Suspended
public static final MemberStatus Terminated
public static MemberStatus[] values()
for (MemberStatus c : MemberStatus.values()) System.out.println(c);
public static MemberStatus 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 getCode()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.