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 newFeatureProviderDefine
instance. -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.The feature to provide.void
setFeature
(Feature<T> feature) The feature to provide.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods 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 newFeatureProviderDefine
instance.- Parameters:
feature
- The feature to provide.
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
-
getFeature
The feature to provide. -
setFeature
The feature to provide.
-