public enum ApplicationPool extends java.lang.Enum<ApplicationPool>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
add(ApplicationType app) |
ApplicationType |
getApp(java.lang.String appId) |
java.util.List<ApplicationType> |
getAppList() |
int |
getNextID() |
void |
remove(ApplicationType app) |
void |
removeAll() |
void |
setNextID(int size) |
void |
updateApp(java.lang.String appId,
ApplicationType newApp) |
void |
updateApp(java.lang.String appId,
DeployableType dep) |
void |
updateApp(java.lang.String appId,
int nbInstances) |
void |
updateApp(java.lang.String appId,
LinksListType linksList) |
void |
updateApp(java.lang.String appId,
java.lang.String envId)
Once deployed, add the used envID to the deployed application
representation
|
static ApplicationPool |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationPool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationPool INSTANCE
public static ApplicationPool[] values()
for (ApplicationPool c : ApplicationPool.values()) System.out.println(c);
public static ApplicationPool 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<ApplicationType> getAppList()
public void add(ApplicationType app)
public void remove(ApplicationType app)
public void removeAll()
public ApplicationType getApp(java.lang.String appId)
public void updateApp(java.lang.String appId, DeployableType dep)
public void updateApp(java.lang.String appId, int nbInstances)
public void updateApp(java.lang.String appId, LinksListType linksList)
public void updateApp(java.lang.String appId, java.lang.String envId)
appId
- the application IDenvId
- the environnment IDpublic void updateApp(java.lang.String appId, ApplicationType newApp)
public int getNextID()
public void setNextID(int size)