org.cloudfoundry.client.lib.domain
Enum CloudApplication.AppState
java.lang.Object
java.lang.Enum<CloudApplication.AppState>
org.cloudfoundry.client.lib.domain.CloudApplication.AppState
- All Implemented Interfaces:
- Serializable, Comparable<CloudApplication.AppState>
- Enclosing class:
- CloudApplication
public static enum CloudApplication.AppState
- extends Enum<CloudApplication.AppState>
UPDATING
public static final CloudApplication.AppState UPDATING
STARTED
public static final CloudApplication.AppState STARTED
STOPPED
public static final CloudApplication.AppState STOPPED
values
public static CloudApplication.AppState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CloudApplication.AppState c : CloudApplication.AppState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CloudApplication.AppState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013. All rights reserved.