public class IfObjectFilter extends IfPredicateBase
mask
is returned if the mask (treated as an object) passed an object-filter,
otherwise maskElse
is returned.Constructor and Description |
---|
IfObjectFilter() |
Modifier and Type | Method and Description |
---|---|
ObjectFilter |
getFilter() |
protected boolean |
predicate(Mask mask)
If this evaluates true, the mask will be returned as-is, otherwise
maskElse is
returned |
void |
setFilter(ObjectFilter filter) |
createFromMask, getMaskElse, setMaskElse
get, getMask, setMask
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected boolean predicate(Mask mask) throws ProvisionFailedException
IfPredicateBase
maskElse
is
returnedpredicate
in class IfPredicateBase
ProvisionFailedException
public ObjectFilter getFilter()
public void setFilter(ObjectFilter filter)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.