Package org.ocpsoft.rewrite.mock
Class MockEvaluationContext
java.lang.Object
org.ocpsoft.rewrite.context.ContextBase
org.ocpsoft.rewrite.mock.MockEvaluationContext
- All Implemented Interfaces:
Context,EvaluationContext
- Author:
- Lincoln Baxter, III
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPostOperation(Operation operation) voidaddPreOperation(Operation operation) Get an immutable view of the added post-Operationinstances.Get an immutable view of the added pre-Operationinstances.getState()Methods inherited from class org.ocpsoft.rewrite.context.ContextBase
clear, containsKey, get, put, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ocpsoft.rewrite.context.Context
clear, containsKey, get, put
-
Constructor Details
-
MockEvaluationContext
public MockEvaluationContext()
-
-
Method Details
-
addPreOperation
- Specified by:
addPreOperationin interfaceEvaluationContext
-
addPostOperation
- Specified by:
addPostOperationin interfaceEvaluationContext
-
getPreOperations
Get an immutable view of the added pre-Operationinstances. -
getPostOperations
Get an immutable view of the added post-Operationinstances. -
getState
- Specified by:
getStatein interfaceEvaluationContext
-