public enum Status extends Enum<Status>
Enum Constant and Description |
---|
ACTIVE |
CREATED |
NOT_YET_SUBMITTED |
OBJECT_NOT_FOUND |
SUSPENDED |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
boolean |
isActive() |
String |
toString() |
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status NOT_YET_SUBMITTED
public static final Status CREATED
public static final Status ACTIVE
public static final Status SUSPENDED
public static final Status UNDEFINED
public static final Status OBJECT_NOT_FOUND
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 boolean isActive()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.