Interface ResourceReferenceDelegate<R>
- All Known Implementing Classes:
DefaultResourceReferenceDelegate
,ExtensionPointReferenceDelegate
public interface ResourceReferenceDelegate<R>
Part of a
ResourceTypeMeta
that provides a way to find references to other resources.-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<ReferenceProperty<R>>
default Collection<Reference>
getReferences
(ConfigurationManager manager, ResourcePath targetResource) Finds any properties of any instance(s) of this resource type that reference the given resource.static <X> ResourceReferenceDelegate<X>
none()
-
Method Details
-
getReferences
default Collection<Reference> getReferences(ConfigurationManager manager, ResourcePath targetResource) Finds any properties of any instance(s) of this resource type that reference the given resource.- Returns:
- A collection of property references that reference the given resource. These references also include
the capability to generate a
ChangeOperation
needed to update the reference in the case of a rename operation. - See Also:
-
getReferenceProperties
- Returns:
- A collection of all reference properties for the resource type represented by this delegate.
-
none
-