public interface Deployer
The calling sequence is roughly like this:
try {
prepare();
deploy();
}
catch (DeployException e) {
cancel();
}
finally {
finish();
}
}
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(int deploySequenceId, DeployShell shell)
Called if deployment has been cancelled, either because of user intervention or because of another deployment task failing.
|
boolean |
canDeploy(int deploySequenceId)
Indicate whether the deployer (or if its a composite deployer then any of its contained deployers) is capable of deploying the task indicated by the DeploymentSequenceId.
|
void |
deploy(int deploySequenceId, DeployShell shell)
Do the actual deployment task.
|
void |
finish(int deploySequenceId, DeployShell shell)
Called after the entire Deployment process has completed, perform any cleanup operations here.
|
void |
prepare(int deploySequenceId, DeployShell shell)
Called to do any preparatory work before the actual deployment takes place.
|
boolean canDeploy(int deploySequenceId)
deploySequenceId -
void prepare(int deploySequenceId,
DeployShell shell)
throws DeployException
deploySequenceId -shell -DeployException
void deploy(int deploySequenceId,
DeployShell shell)
throws DeployException
deploySequenceId -shell -DeployException
void finish(int deploySequenceId,
DeployShell shell)
deploySequenceId -shell -
void cancel(int deploySequenceId,
DeployShell shell)
deploySequenceId -shell -