Class StackProviderUnary
- All Implemented Interfaces:
Provider<Stack>
,ProviderAsStack
- Direct Known Subclasses:
ColorConverterBase
,MontageSlices
Implementation of
StackProvider
that calls a single delegate Provider<Stack>
.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider
getAsStack
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
-
StackProviderUnary
protected StackProviderUnary()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
createFromStack
Creates aStack
given the entity provided by the delegate.- Parameters:
stack
- the entity provided by the delegate.- Returns:
- the created
Stack
that is returned by the provider. - Throws:
ProvisionFailedException
- if the provider cannot complete successfully.
-
getStack
The delegateProvider<Stack>
that is called. -
setStack
The delegateProvider<Stack>
that is called.
-