public abstract class FromChannelBase extends MaskProvider
MaskProvider
s that accept a Channel
as input.Constructor and Description |
---|
FromChannelBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract Mask |
createFromSource(Channel source) |
Mask |
get()
Gets or creates an object of type
T . |
ChannelProvider |
getChannel() |
void |
setChannel(ChannelProvider channel) |
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 createFromSource(Channel source) throws CreateException
CreateException
public ChannelProvider getChannel()
public void setChannel(ChannelProvider channel)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.