Class Reference
A provider that references an existing
Histogram
by its identifier.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.getId()
The identifier of the histogram to reference.void
onInitialization
(ImageInitialization initialization) Called after initialization.void
The identifier of the histogram to reference.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Reference
Creates a newReference
with the specified identifier.- Parameters:
id
- the identifier of the histogram to reference
-
Reference
public Reference()
-
-
Method Details
-
onInitialization
Description copied from class:InitializableBean
Called after initialization. An empty implementation is provided, to be overridden as needed in the sub-classes.- Overrides:
onInitialization
in classInitializableBean<HistogramProvider,
ImageInitialization> - Parameters:
initialization
- parameters used for initialization.- Throws:
InitializeException
- if initialization does not successfully complete.
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
-
getId
The identifier of the histogram to reference. -
setId
The identifier of the histogram to reference.
-