Class HistogramProviderUnary
Implementation of
HistogramProvider that calls a single delegate HistogramProvider.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HistogramcreateFromHistogram(Histogram histogram) Creates aHistogramgiven the entity provided by the delegate.get()The delegateHistogramProviderthat is called.voidsetHistogram(HistogramProvider histogram) The delegateHistogramProviderthat is called.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
-
HistogramProviderUnary
protected HistogramProviderUnary()
-
-
Method Details
-
get
- Throws:
ProvisionFailedException
-
createFromHistogram
protected abstract Histogram createFromHistogram(Histogram histogram) throws ProvisionFailedException Creates aHistogramgiven the entity provided by the delegate.- Parameters:
histogram- the entity provided by the delegate.- Returns:
- the created
Histogramthat is returned by the provider. - Throws:
ProvisionFailedException- if the provider cannot complete successfully.
-
getHistogram
The delegateHistogramProviderthat is called. -
setHistogram
The delegateHistogramProviderthat is called.
-