public abstract class MaskProviderUnary extends MaskProvider
MaskProvider
that calls a single delegate MaskProvider
.Modifier | Constructor and Description |
---|---|
protected |
MaskProviderUnary() |
Modifier and Type | Method and Description |
---|---|
protected abstract Mask |
createFromMask(Mask mask)
Creates a
Mask given the entity provided by the delegate. |
Mask |
get()
Gets or creates an object of type
T . |
Provider<Mask> |
getMask()
The delegate
Provider<Mask> that is called. |
void |
setMask(Provider<Mask> mask)
The delegate
Provider<Mask> that is called. |
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Mask get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.protected abstract Mask createFromMask(Mask mask) throws ProvisionFailedException
Mask
given the entity provided by the delegate.mask
- the entity provided by the delegate.Mask
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.