public abstract class CombineBase extends MaskProviderUnary
Constructor and Description |
---|
CombineBase() |
Modifier and Type | Method and Description |
---|---|
Mask |
createFromMask(Mask mask)
Creates a
Mask given the entity provided by the delegate. |
protected abstract Mask |
createFromTwoMasks(Mask maskToModify,
Mask maskOther)
Creates masks from some combination of two masks
|
MaskProvider |
getReceive() |
void |
setReceive(MaskProvider receive) |
get, getMask, setMask
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Mask createFromMask(Mask mask) throws ProvisionFailedException
MaskProviderUnary
Mask
given the entity provided by the delegate.createFromMask
in class MaskProviderUnary
mask
- the entity provided by the delegate.Mask
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.protected abstract Mask createFromTwoMasks(Mask maskToModify, Mask maskOther) throws ProvisionFailedException
maskToModify
- first-mask (which is also the mask modified with the result)maskOther
- second-mask (which is not modified)maskToModify
or maskOther
depending on implementationProvisionFailedException
public MaskProvider getReceive()
public void setReceive(MaskProvider receive)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.