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 Deprecated Methods Modifier and Type Method Description default AttributeTranslationgetAttributeTranslation(org.jboss.as.controller.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<org.jboss.as.controller.PathElement>getRequiredChildren()Deprecated, for removal: This API element is subject to removal in a future version.Superseded bygetRequiredChildResources().default Map<org.jboss.as.controller.PathElement,org.jboss.as.controller.ResourceRegistration>getRequiredChildResources()Returns the required child resources for this resource description.default Set<org.jboss.as.controller.PathElement>getRequiredSingletonChildren()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>getRequiredSingletonChildResources()Returns the required singleton child resources for this resource description.default UnaryOperator<org.jboss.as.controller.registry.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
@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
default UnaryOperator<org.jboss.as.controller.registry.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
-
-