Class FeatureProviderDefine<T extends FeatureInput>
Object
- Type Parameters:
T- feature input-type.
Defines a single
Feature to provide via a bean property.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureProviderDefine(Feature<T> feature) Creates a newFeatureProviderDefineinstance. -
Method Summary
Modifier and TypeMethodDescriptionget()Gets or creates an object of typeT.The feature to provide.voidsetFeature(Feature<T> feature) The feature to provide.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
-
FeatureProviderDefine
public FeatureProviderDefine() -
FeatureProviderDefine
Creates a newFeatureProviderDefineinstance.- Parameters:
feature- The feature to provide.
-
-
Method Details
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
-
getFeature
The feature to provide. -
setFeature
The feature to provide.
-