Interface AddResourceOperationStepHandlerDescriptor
-
- All Superinterfaces:
OperationStepHandlerDescriptor
- All Known Subinterfaces:
ResourceDescriptor
- All Known Implementing Classes:
ResourceDescriptor.DefaultResourceDescriptor
public interface AddResourceOperationStepHandlerDescriptor extends OperationStepHandlerDescriptor
Describes the properties of a resource "add" operation handler.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AttributeTranslationgetAttributeTranslation(AttributeDefinition attribute)Returns the attribute translation for the specified attribute, or null if none existsdefault Optional<Consumer<DeploymentProcessorTarget>>getDeploymentChainContributor()Returns an optional consumer of aDeploymentProcessorTarget, used to add deployment unit processors to the deployment chain.default Set<PathElement>getRequiredChildren()Returns the required child resources for this resource description.default Set<PathElement>getRequiredSingletonChildren()Returns the required singleton child resources for this resource description.default UnaryOperator<Resource>getResourceTransformation()Returns a transformation for a newly created resource.-
Methods inherited from interface org.wildfly.subsystem.resource.operation.OperationStepHandlerDescriptor
getCapabilityFilter, getRuntimeHandler
-
-
-
-
Method Detail
-
getRequiredChildren
default Set<PathElement> getRequiredChildren()
Returns the required child resources for this resource description.- Returns:
- a collection of resource paths
-
getRequiredSingletonChildren
default Set<PathElement> getRequiredSingletonChildren()
Returns the required singleton child resources for this resource description. This means only one child resource should exist for the given child type.- Returns:
- a collection of resource paths
-
getAttributeTranslation
default AttributeTranslation getAttributeTranslation(AttributeDefinition attribute)
Returns the attribute translation for the specified attribute, or null if none exists- Returns:
- an attribute translation, or null if none exists
-
getResourceTransformation
default UnaryOperator<Resource> getResourceTransformation()
Returns a transformation for a newly created resource.- Returns:
- a resource transformation
-
getDeploymentChainContributor
default Optional<Consumer<DeploymentProcessorTarget>> getDeploymentChainContributor()
Returns an optional consumer of aDeploymentProcessorTarget, used to add deployment unit processors to the deployment chain.- Returns:
- an optional
DeploymentProcessorTargetconsumer
-
-