public class DomainDeployment extends Object implements Deployment
Deployment.Status, Deployment.Type| Constructor and Description |
|---|
DomainDeployment(org.jboss.as.controller.client.helpers.domain.DomainClient client,
Domain domain,
File content,
String name,
Deployment.Type type)
Creates a new deployment.
|
| Modifier and Type | Method and Description |
|---|---|
static DomainDeployment |
create(org.jboss.as.controller.client.helpers.domain.DomainClient client,
Domain domain,
File content,
String name,
Deployment.Type type)
Creates a new deployment.
|
Deployment.Status |
execute()
Executes the deployment
|
Deployment.Type |
getType()
The type of the deployment.
|
public DomainDeployment(org.jboss.as.controller.client.helpers.domain.DomainClient client,
Domain domain,
File content,
String name,
Deployment.Type type)
client - the client for the serverdomain - the domain informationcontent - the content for the deploymentname - the name of the deployment, if null the name of the content file is usedtype - the deployment typepublic static DomainDeployment create(org.jboss.as.controller.client.helpers.domain.DomainClient client, Domain domain, File content, String name, Deployment.Type type)
client - the client for the serverdomain - the domain informationcontent - the content for the deploymentname - the name of the deployment, if null the name of the content file is usedtype - the deployment typepublic Deployment.Status execute() throws DeploymentExecutionException, DeploymentFailureException
Deploymentexecute in interface DeploymentDeploymentExecutionException - if the deployment failsDeploymentFailureException - if a failure occurs.public Deployment.Type getType()
DeploymentgetType in interface DeploymentCopyright © 2013 JBoss by Red Hat. All Rights Reserved.