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(String deploymentId)
Returns the deployment informaton for a given deployment id.
|
String[] |
getDeployments()
Returns a list of deployment ids of deployments.
|
String |
nextDeploymentId()
Allocates a new deployment id.
|
void |
remove(String deploymentId)
Remove deployment
|
String nextDeploymentId()
String[] getDeployments()
DeploymentInformation getDeployment(String deploymentId)
deploymentId
- idDeploymentInformation[] getAllDeployments()
void addUpdateDeployment(DeploymentInformation descriptor)
descriptor
- to storevoid destroy()
void remove(String deploymentId)
deploymentId
- to remove