|
JBoss AS7 Deployment Plugin 7.9.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.as.plugin.deployment.standalone.StandaloneDeployment
public class StandaloneDeployment
A deployment for standalone servers.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.as.plugin.deployment.Deployment |
---|
Deployment.Status, Deployment.Type |
Constructor Summary | |
---|---|
StandaloneDeployment(org.jboss.as.controller.client.ModelControllerClient client,
File content,
String name,
Deployment.Type type,
String matchPattern,
MatchPatternStrategy matchPatternStrategy)
Creates a new deployment. |
Method Summary | |
---|---|
static StandaloneDeployment |
create(org.jboss.as.controller.client.ModelControllerClient client,
File content,
String name,
Deployment.Type type,
String matchPattern,
MatchPatternStrategy matchPatternStrategy)
Creates a new deployment. |
Deployment.Status |
execute()
Executes the deployment |
Deployment.Type |
getType()
The type of the deployment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandaloneDeployment(org.jboss.as.controller.client.ModelControllerClient client, File content, String name, Deployment.Type type, String matchPattern, MatchPatternStrategy matchPatternStrategy)
client
- the client that is connected.content
- the content for the deployment.name
- the name of the deployment, if null
the name of the content file is used.type
- the deployment type.matchPattern
- the pattern for matching multiple artifacts, if null
the name is used.matchPatternStrategy
- the strategy for handling multiple artifacts.Method Detail |
---|
public static StandaloneDeployment create(org.jboss.as.controller.client.ModelControllerClient client, File content, String name, Deployment.Type type, String matchPattern, MatchPatternStrategy matchPatternStrategy)
client
- the client that is connected.content
- the content for the deployment.name
- the name of the deployment, if null
the name of the content file is used.type
- the deployment type.matchPattern
- the pattern for matching multiple artifacts, if null
the name is used.matchPatternStrategy
- the strategy for handling multiple artifacts.
public Deployment.Status execute() throws DeploymentExecutionException, DeploymentFailureException
Deployment
execute
in interface Deployment
DeploymentExecutionException
- if the deployment fails
DeploymentFailureException
- if a failure occurs.public Deployment.Type getType()
Deployment
getType
in interface Deployment
|
JBoss AS7 Deployment Plugin 7.9.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |