Interface ResourceCapabilityReferenceRecorder.Builder<T>

All Superinterfaces:
ResourceCapabilityReference.Builder<T>
All Known Subinterfaces:
ResourceCapabilityReferenceRecorder.NaryBuilder<T>
All Known Implementing Classes:
ResourceCapabilityReferenceRecorder.DefaultBuilder
Enclosing interface:
ResourceCapabilityReferenceRecorder<T>

@Deprecated(forRemoval=true, since="26.0.0") public static interface ResourceCapabilityReferenceRecorder.Builder<T> extends ResourceCapabilityReference.Builder<T>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Builds the configured capability reference recorder.
    when(org.jboss.as.controller.AttributeDefinition attribute, Predicate<org.jboss.dmr.ModelNode> predicate)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Only reference the provided capability if value of the specified attribute complies with the specified predicate.

    Methods inherited from interface org.wildfly.subsystem.resource.capability.ResourceCapabilityReference.Builder

    when
  • Method Details

    • when

      ResourceCapabilityReferenceRecorder.Builder<T> when(org.jboss.as.controller.AttributeDefinition attribute, Predicate<org.jboss.dmr.ModelNode> predicate)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Only reference the provided capability if value of the specified attribute complies with the specified predicate.
      Specified by:
      when in interface ResourceCapabilityReference.Builder<T>
      Parameters:
      attribute - an attribute of the resource to use for conditional registration
      predicate - conditionally determines whether to require this capability, depending on the resolve value of the specified attribute
      Returns:
      a reference to this builder
    • build

      Deprecated, for removal: This API element is subject to removal in a future version.
      Builds the configured capability reference recorder.
      Specified by:
      build in interface ResourceCapabilityReference.Builder<T>
      Returns:
      a capability reference recorder