public class Deployment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Deployment.Type |
| Constructor and Description |
|---|
Deployment(org.jboss.as.controller.client.ModelControllerClient client,
Set<String> serverGroups,
InputStream content,
String name,
String runtimeName,
Deployment.Type type,
boolean enabled)
Creates a new deployment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the deployment
|
Deployment.Type |
getType()
The type of the deployment.
|
public Deployment(org.jboss.as.controller.client.ModelControllerClient client,
Set<String> serverGroups,
InputStream content,
String name,
String runtimeName,
Deployment.Type type,
boolean enabled)
client - the client that is connected.serverGroups - the server groups to deploy tocontent - the content for the deployment.name - the name of the deployment, if null the name of the content file is used.runtimeName - he runtime name of the deploymenttype - the deployment type.enabled - enable the deploymentspublic void execute()
throws Exception
Exception - if the deployment failspublic Deployment.Type getType()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.