|
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.resource.Resource
public class Resource
Defines a resource.
Constructor Summary | |
---|---|
Resource()
Default constructor. |
Method Summary | |
---|---|
String |
getAddress()
The address for the resource. |
Commands |
getAfterAdd()
Returns the commands that should be executed after the resource is deployed. |
Commands |
getBeforeAdd()
Returns the commands that should be executed before the resource is deployed. |
Map<String,String> |
getProperties()
The properties for the resource. |
Resource[] |
getResources()
Returns an array of resources that depend on this resource. |
boolean |
hasAfterAddCommands()
Checks if there are commands that should be executed after the deployment. |
boolean |
hasBeforeAddCommands()
Checks if there are commands that should be executed before the deployment. |
boolean |
isAddIfAbsent()
Whether or not we should add only if the resource is absent. |
boolean |
isEnableResource()
Whether or not the enable operation should be performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Resource()
Method Detail |
---|
public String getAddress()
public boolean isAddIfAbsent()
true
if the resource should only be added if it does not already exist, otherwise false
.public Map<String,String> getProperties()
public boolean isEnableResource()
true
if the enable operation should be performed, otherwise false
.public Resource[] getResources()
isAddIfAbsent()
is defined and his resource is already
defined.
null
if there are no child resources.public boolean hasBeforeAddCommands()
true
if there are commands that need to be executed before the deployment, otherwise false
public Commands getBeforeAdd()
public boolean hasAfterAddCommands()
true
if there are commands that need to be executed after the deployment, otherwise false
public Commands getAfterAdd()
|
JBoss AS7 Deployment Plugin 7.9.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |