Interface CapabilityReferenceRecorder.ParentPathProvider<T>
-
- All Superinterfaces:
CapabilityReferenceRecorder.ParentAttributeProvider<T>
- All Known Implementing Classes:
CapabilityReferenceRecorder.DefaultBuilder
- Enclosing interface:
- CapabilityReferenceRecorder<T>
public static interface CapabilityReferenceRecorder.ParentPathProvider<T> extends CapabilityReferenceRecorder.ParentAttributeProvider<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CapabilityReferenceRecorder.Builder<T>withParentPath(PathElement path)Specifies the path for the parent segment of the requirement.CapabilityReferenceRecorder.Builder<T>withParentPath(PathElement path, Function<PathAddress,PathElement> resolver)Specifies the path and resolver for the parent segment of the requirement.-
Methods inherited from interface org.wildfly.subsystem.resource.capability.CapabilityReferenceRecorder.ParentAttributeProvider
withParentAttribute
-
-
-
-
Method Detail
-
withParentPath
default CapabilityReferenceRecorder.Builder<T> withParentPath(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
CapabilityReferenceRecorder.Builder<T> withParentPath(PathElement path, Function<PathAddress,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
-
-