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 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.
      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.
      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 a DeploymentProcessorTarget, used to add deployment unit processors to the deployment chain.
      Returns:
      an optional DeploymentProcessorTarget consumer