|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DeploymentPlanningContext
Context that is passed along during the Planning stage of a Deployment. This can be used to add DeploymentStep to the current plan,
or store and retrieve attributes to transfer knowledge between multiple Contributors/Processors.
| Method Summary | |
|---|---|
void |
addStep(DeploymentStep step)
Add a step to the current plan. |
void |
addSteps(java.util.Collection<DeploymentStep> steps)
Add multiple steps to the current plan. |
void |
addSteps(DeploymentStep... steps)
Add multiple steps to the current plan. |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the planning context attribute with the given name, or null if there is no attribute by that name. |
DeployedApplication |
getDeployedApplication()
Returns the DeployedApplication for which the plan is being created. |
ReadOnlyRepository |
getRepository()
Returns a read-only view of the repository of Deployit. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Stores an attribute in the planning context. |
| Method Detail |
|---|
void addStep(DeploymentStep step)
step - the step to add.void addSteps(DeploymentStep... steps)
steps - the steps to add.void addSteps(java.util.Collection<DeploymentStep> steps)
steps - the steps to add.java.lang.Object getAttribute(java.lang.String name)
name - the name of the attribute
void setAttribute(java.lang.String name,
java.lang.Object value)
name - the name of the attributevalue - the value of the attributeDeployedApplication getDeployedApplication()
ReadOnlyRepository getRepository()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||