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
getAsStackMethods 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
-
StackProviderUnary
protected StackProviderUnary()
-
-
Method Details
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException- if the object cannot be returned.
-
createFromStack
Creates aStackgiven the entity provided by the delegate.- Parameters:
stack- the entity provided by the delegate.- Returns:
- the created
Stackthat 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.
-