public interface DeploymentStateService
Modifier and Type | Method and Description |
---|---|
void |
addUpdateDeployment(DeploymentInformation descriptor)
Add or update the deployment information using the contained deployment id as a key.
|
void |
destroy()
Destroy the service.
|
DeploymentInformation[] |
getAllDeployments()
Returns deployment information for all deployments.
|
DeploymentInformation |
getDeployment(java.lang.String deploymentId)
Returns the deployment informaton for a given deployment id.
|
java.lang.String[] |
getDeployments()
Returns a list of deployment ids of deployments.
|
java.lang.String |
nextDeploymentId()
Allocates a new deployment id.
|
void |
remove(java.lang.String deploymentId)
Remove deployment
|
java.lang.String nextDeploymentId()
java.lang.String[] getDeployments()
DeploymentInformation getDeployment(java.lang.String deploymentId)
deploymentId
- idDeploymentInformation[] getAllDeployments()
void addUpdateDeployment(DeploymentInformation descriptor)
descriptor
- to storevoid destroy()
void remove(java.lang.String deploymentId)
deploymentId
- to remove