public abstract class UnaryWithMaskBase extends ChannelProviderUnary
Constructor and Description |
---|
UnaryWithMaskBase() |
Modifier and Type | Method and Description |
---|---|
Channel |
createFromChannel(Channel channel)
Creates a
Channel given the entity provided by the delegate. |
protected abstract Channel |
createFromMaskedChannel(Channel channel,
Mask mask) |
MaskProvider |
getMask() |
void |
setMask(MaskProvider mask) |
get, getChannel, setChannel
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Channel createFromChannel(Channel channel) throws ProvisionFailedException
ChannelProviderUnary
Channel
given the entity provided by the delegate.createFromChannel
in class ChannelProviderUnary
channel
- the entity provided by the delegate.Channel
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.protected abstract Channel createFromMaskedChannel(Channel channel, Mask mask) throws ProvisionFailedException
ProvisionFailedException
public MaskProvider getMask()
public void setMask(MaskProvider mask)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.