public enum GroupStatus extends Enum<GroupStatus> implements LifeCycleState
| Enum Constant and Description |
|---|
Active |
Created |
Inactive |
Terminated |
Terminating |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static GroupStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupStatus[] |
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 GroupStatus Created
public static final GroupStatus Active
public static final GroupStatus Inactive
public static final GroupStatus Terminating
public static final GroupStatus Terminated
public static GroupStatus[] values()
for (GroupStatus c : GroupStatus.values()) System.out.println(c);
public static GroupStatus 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.