Class FeatureProviderReference
- All Implemented Interfaces:
Provider<Feature<FeatureInput>>
Provides an existing
Feature identified by its name and optionally a feature-list in
which is resides.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Gets or creates an object of typeT.getId()The name of the feature to reference.The name of the list in which the feature referenced byidresides.voidThe name of the feature to reference.voidsetReferencesList(String referencesList) The name of the list in which the feature referenced byidresides.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FeatureProviderReference
public FeatureProviderReference()
-
-
Method Details
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException- if the object cannot be returned.
-
getId
The name of the feature to reference. -
setId
The name of the feature to reference. -
getReferencesList
The name of the list in which the feature referenced byidresides. -
setReferencesList
The name of the list in which the feature referenced byidresides.
-