Class Resource
java.lang.Object
org.wildfly.plugin.deployment.resource.Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe address for the resource.The properties for the resource.Resource[]Returns an array of resources that depend on this resource.booleanWhether or not we should add only if the resource is absent.
-
Constructor Details
-
Resource
public Resource()Default constructor.
-
-
Method Details
-
getAddress
-
isAddIfAbsent
public boolean isAddIfAbsent()Whether or not we should add only if the resource is absent.- Returns:
trueif the resource should only be added if it does not already exist, otherwisefalse.
-
getProperties
-
getResources
Returns an array of resources that depend on this resource. Note all sub-resources will be ignored if theisAddIfAbsent()is defined and his resource is already defined.- Returns:
- an array of resources that depend on this resource or
nullif there are no child resources.
-