|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentManager
An interface for uploading and controlling deployments in a profile.
| Method Summary | |
|---|---|
DeploymentProgress |
distribute(String name,
URL contentURL,
boolean copyContent)
Add raw deployment content to the profile. |
DeploymentProgress |
distribute(String name,
URL contentURL,
DeploymentOption... options)
Add raw deployment to the profile without starting the deployment. |
Collection<ProfileKey> |
getProfiles()
Get a collection of profiles supporting deployment actions. |
String[] |
getRepositoryNames(String[] names)
Map from the external name passed to distribute to the uploaded deployment repository name. |
boolean |
isRedeploySupported()
Is redeploy supported. |
void |
loadProfile(ProfileKey key)
Load and associate the given profile with the DeploymentManager for future operations. |
DeploymentProgress |
prepare(String... names)
Prepare a set of deployments through their dependency analysis phase. |
DeploymentProgress |
redeploy(String name)
Do redeploy. |
void |
releaseProfile()
Release the previous loaded profile. |
DeploymentProgress |
remove(String... names)
Remove a previously distributed deployment. |
DeploymentProgress |
start(String... names)
Start a previously distributed deployment. |
DeploymentProgress |
stop(String... names)
Stop a previously started deployment. |
| Method Detail |
|---|
void loadProfile(ProfileKey key)
throws Exception
key - - the profile to load
Exception - for any error
void releaseProfile()
throws Exception
ExceptionCollection<ProfileKey> getProfiles()
String[] getRepositoryNames(String[] names)
throws Exception
names - - the list of external deployment names
Exception - for any error
DeploymentProgress distribute(String name,
URL contentURL,
boolean copyContent)
throws Exception
name - the deployment namecontentURL - - URL for obtaining the deployment archivecopyContent - should we copy content or just reference it
Exception - for any error
DeploymentProgress distribute(String name,
URL contentURL,
DeploymentOption... options)
throws Exception
name - the deployment namecontentURL - - URL for obtaining the deployment archiveoptions - - the deployment options
Exception - for any error
DeploymentProgress prepare(String... names)
throws Exception
names - the unique names of the deployments
Exception - for any error
DeploymentProgress start(String... names)
throws Exception
names - the unique names of the deployments
Exception - for any errorboolean isRedeploySupported()
DeploymentProgress redeploy(String name)
throws Exception
name - the deployment to redeploy
Exception - for any error
DeploymentProgress stop(String... names)
throws Exception
names - the unique names of the deployments
Exception - for any error
DeploymentProgress remove(String... names)
throws Exception
names - the unique names of the deployments
Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||