public final class Perform extends DefaultOperationBuilder implements CompositeOperation
Operation instances. If all provided operations return true, this
operation returns true. If any provided operations return false, this operation returns
false.| Modifier and Type | Method and Description |
|---|---|
static Perform |
all(Operation... operations)
Creates a new
Perform operation. |
List<Operation> |
getOperations()
Returns all
Operation objects contained within this CompositeOperation; otherwise, returns an
empty List. |
void |
perform(Rewrite event,
EvaluationContext context)
Perform the
Operation. |
String |
toString() |
andpublic static Perform all(Operation... operations)
Perform operation. If all provided Operation instances return true,
this operation returns true. If any provided operations return false, this operation
returns false.operations - the array of operations to be evaluatedpublic void perform(Rewrite event, EvaluationContext context)
OperationOperation.public List<Operation> getOperations()
CompositeOperationOperation objects contained within this CompositeOperation; otherwise, returns an
empty List.getOperations in interface CompositeOperationCopyright © 2019 OCPsoft. All rights reserved.