public enum EnvironmentPool extends java.lang.Enum<EnvironmentPool>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
add(EnvironmentType env) |
boolean |
delete(java.lang.String envId) |
EnvironmentType |
getEnv(java.lang.String envId) |
java.util.List<EnvironmentType> |
getEnvList() |
int |
getNextID() |
void |
setNextID(int size) |
void |
updateEnv(java.lang.String envId,
LinksListType linksList) |
static EnvironmentPool |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnvironmentPool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvironmentPool INSTANCE
public static EnvironmentPool[] values()
for (EnvironmentPool c : EnvironmentPool.values()) System.out.println(c);
public static EnvironmentPool valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.util.List<EnvironmentType> getEnvList()
public void add(EnvironmentType env)
public boolean delete(java.lang.String envId)
envId
- the environment to deletepublic EnvironmentType getEnv(java.lang.String envId)
public void updateEnv(java.lang.String envId, LinksListType linksList)
public int getNextID()
public void setNextID(int size)