Interface AddResourceOperationStepHandlerDescriptor
- All Superinterfaces:
OperationStepHandlerDescriptor
- All Known Subinterfaces:
ResourceDescriptor
- All Known Implementing Classes:
ResourceDescriptor.DefaultResourceDescriptor
Describes the properties of a resource "add" operation handler.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttributeTranslationgetAttributeTranslation(org.jboss.as.controller.AttributeDefinition attribute) Returns the attribute translation for the specified attribute, or null if none existsdefault Optional<Consumer<DeploymentProcessorTarget>>Returns an optional consumer of aDeploymentProcessorTarget, used to add deployment unit processors to the deployment chain.default Set<org.jboss.as.controller.PathElement>Deprecated, for removal: This API element is subject to removal in a future version.default Map<org.jboss.as.controller.PathElement,org.jboss.as.controller.ResourceRegistration> Returns the required child resources for this resource description.default Set<org.jboss.as.controller.PathElement>Deprecated, for removal: This API element is subject to removal in a future version.Superseded bygetRequiredSingletonChildResources()default Map<org.jboss.as.controller.PathElement,org.jboss.as.controller.ResourceRegistration> Returns the required singleton child resources for this resource description.default UnaryOperator<org.jboss.as.controller.registry.Resource>Returns a transformation for a newly created resource.Methods inherited from interface org.wildfly.subsystem.resource.operation.OperationStepHandlerDescriptor
getCapabilityFilter, getRuntimeHandler
-
Method Details
-
getRequiredChildren
@Deprecated(forRemoval=true, since="26.0.0") default Set<org.jboss.as.controller.PathElement> getRequiredChildren()Deprecated, for removal: This API element is subject to removal in a future version.Superseded bygetRequiredChildResources().Returns the required child resources for this resource description.- Returns:
- a collection of resource paths
-
getRequiredChildResources
default Map<org.jboss.as.controller.PathElement,org.jboss.as.controller.ResourceRegistration> getRequiredChildResources()Returns the required child resources for this resource description.- Returns:
- a collection of resource paths
-
getRequiredSingletonChildren
@Deprecated(forRemoval=true, since="26.0.0") default Set<org.jboss.as.controller.PathElement> getRequiredSingletonChildren()Deprecated, for removal: This API element is subject to removal in a future version.Superseded bygetRequiredSingletonChildResources()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
-
getRequiredSingletonChildResources
default Map<org.jboss.as.controller.PathElement,org.jboss.as.controller.ResourceRegistration> getRequiredSingletonChildResources()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(org.jboss.as.controller.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
Returns a transformation for a newly created resource.- Returns:
- a resource transformation
-
getDeploymentChainContributor
Returns an optional consumer of aDeploymentProcessorTarget, used to add deployment unit processors to the deployment chain.- Returns:
- an optional
DeploymentProcessorTargetconsumer
-
getRequiredChildResources().