Interface CapabilityReference.ParentPathProvider<T>
-
- All Superinterfaces:
CapabilityReference.ParentAttributeProvider<T>
- All Known Subinterfaces:
CapabilityReferenceRecorder.ParentPathProvider<T>
- All Known Implementing Classes:
CapabilityReference.DefaultBuilder,CapabilityReferenceRecorder.DefaultBuilder
- Enclosing interface:
- CapabilityReference<T>
public static interface CapabilityReference.ParentPathProvider<T> extends CapabilityReference.ParentAttributeProvider<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CapabilityReference.Builder<T>withParentPath(org.jboss.as.controller.PathElement path)Specifies the path for the parent segment of the requirement.CapabilityReference.Builder<T>withParentPath(org.jboss.as.controller.PathElement path, Function<org.jboss.as.controller.PathAddress,org.jboss.as.controller.PathElement> resolver)Specifies the path and resolver for the parent segment of the requirement.-
Methods inherited from interface org.wildfly.subsystem.resource.capability.CapabilityReference.ParentAttributeProvider
withParentAttribute
-
-
-
-
Method Detail
-
withParentPath
default CapabilityReference.Builder<T> withParentPath(org.jboss.as.controller.PathElement path)
Specifies the path for the parent segment of the requirement.- Parameters:
path- a path element used to construct the capability name pattern for this referenceresolver- a path resolver- Returns:
- a reference to this builder
-
withParentPath
CapabilityReference.Builder<T> withParentPath(org.jboss.as.controller.PathElement path, Function<org.jboss.as.controller.PathAddress,org.jboss.as.controller.PathElement> resolver)
Specifies the path and resolver for the parent segment of the requirement.- Parameters:
path- a path element used to construct the capability name pattern for this referenceresolver- a path resolver- Returns:
- a reference to this builder
-
-