public class MockEvaluationContext extends ContextBase implements EvaluationContext
| Constructor and Description |
|---|
MockEvaluationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPostOperation(Operation operation) |
void |
addPreOperation(Operation operation) |
List<Operation> |
getPostOperations()
Get an immutable view of the added post-
Operation instances. |
List<Operation> |
getPreOperations()
Get an immutable view of the added pre-
Operation instances. |
RewriteState |
getState() |
containsKey, get, put, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsKey, get, putpublic void addPreOperation(Operation operation)
addPreOperation in interface EvaluationContextpublic void addPostOperation(Operation operation)
addPostOperation in interface EvaluationContextpublic List<Operation> getPreOperations()
Operation instances.public List<Operation> getPostOperations()
Operation instances.public RewriteState getState()
getState in interface EvaluationContextCopyright © 2013 OCPsoft. All Rights Reserved.