| Modifier and Type | Method and Description |
|---|---|
Deployment |
Deployment.addServerGroup(String serverGroup)
Adds a server group for the deployment.
|
Deployment |
Deployment.addServerGroups(Collection<String> serverGroups)
Adds the server groups for the deployment.
|
Deployment |
Deployment.addServerGroups(String... serverGroups)
Adds the server groups for the deployment.
|
static Deployment |
Deployment.of(File content)
Creates a new deployment for the file.
|
static Deployment |
Deployment.of(InputStream content,
String name)
Creates a new deployment for the input stream.
|
static Deployment |
Deployment.of(Path content)
Creates a new deployment for the path.
|
Deployment |
Deployment.setName(String name)
Sets the name for the deployment.
|
Deployment |
Deployment.setRuntimeName(String runtimeName)
Sets the runtime name for the deployment.
|
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.as.controller.client.Operation |
DeploymentOperations.createDeployOperation(Deployment deployment)
Creates an operation to deploy the content to a running server.
|
static org.jboss.as.controller.client.Operation |
DeploymentOperations.createReplaceOperation(Deployment deployment)
Creates an operation to replace deployment content to a running server.
|
DeploymentResult |
DeploymentManager.deploy(Deployment deployment)
Deploys the content to the server.
|
DeploymentResult |
DeploymentManager.forceDeploy(Deployment deployment)
Deploys the content to the server if it does not already exist on the server.
|
DeploymentResult |
DeploymentManager.redeploy(Deployment deployment)
Redeploys the content to the server.
|
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.as.controller.client.Operation |
DeploymentOperations.createDeployOperation(Set<Deployment> deployments)
Creates an operation to deploy the content to a running server.
|
static org.jboss.as.controller.client.Operation |
DeploymentOperations.createReplaceOperation(Set<Deployment> deployments)
Creates an operation to replace deployment content to a running server.
|
DeploymentResult |
DeploymentManager.deploy(Set<Deployment> deployments)
Deploys the content of each deployment to the server.
|
DeploymentResult |
DeploymentManager.forceDeploy(Set<Deployment> deployments)
Deploys the content to the server if it does not already exist on the server.
|
DeploymentResult |
DeploymentManager.redeploy(Set<Deployment> deployments)
Redeploys the content to the server.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.