Package org.ocpsoft.rewrite.config
Class Operations
java.lang.Object
org.ocpsoft.rewrite.config.Operations
Utility for creating and wrapping
Operation instances.- Author:
- Lincoln Baxter, III
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationBuildercreate()Return a newDefaultOperationBuilderthat takes no action when#perform(Rewrite, EvaluationContext)is invoked.static OperationWrap the givenOperationin a newInboundOperationwhich will invoke the wrapped operation only for inbound rewrites.static OperationonOutbound(Operation operation) static OperationBuilderWrap a givenOperationas a newDefaultOperationBuilderthat performs the action of the originalOperationwhen#perform(Rewrite, EvaluationContext)is invoked.
-
Constructor Details
-
Operations
public Operations()
-
-
Method Details
-
create
Return a newDefaultOperationBuilderthat takes no action when#perform(Rewrite, EvaluationContext)is invoked. -
onInbound
Wrap the givenOperationin a newInboundOperationwhich will invoke the wrapped operation only for inbound rewrites. -
onOutbound
-
wrap
Wrap a givenOperationas a newDefaultOperationBuilderthat performs the action of the originalOperationwhen#perform(Rewrite, EvaluationContext)is invoked.
-