org.ocpsoft.rewrite.mock
Class MockEvaluationContext
java.lang.Object
org.ocpsoft.rewrite.context.ContextBase
org.ocpsoft.rewrite.mock.MockEvaluationContext
- All Implemented Interfaces:
- Context, EvaluationContext
public class MockEvaluationContext
- extends ContextBase
- implements EvaluationContext
- Author:
- Lincoln Baxter, III
MockEvaluationContext
public MockEvaluationContext()
addPreOperation
public void addPreOperation(Operation operation)
- Specified by:
addPreOperation in interface EvaluationContext
addPostOperation
public void addPostOperation(Operation operation)
- Specified by:
addPostOperation in interface EvaluationContext
getPreOperations
public List<Operation> getPreOperations()
- Get an immutable view of the added pre-
Operation instances.
getPostOperations
public List<Operation> getPostOperations()
- Get an immutable view of the added post-
Operation instances.
Copyright © 2013 OCPsoft. All Rights Reserved.