Package | Description |
---|---|
org.ocpsoft.rewrite.config | |
org.ocpsoft.rewrite.context | |
org.ocpsoft.rewrite.param | |
org.ocpsoft.rewrite.transposition |
Modifier and Type | Interface and Description |
---|---|
interface |
CompositeOperation
An
Operation that aggregates one or more operations. |
interface |
OperationBuilder
|
interface |
RelocatableRule
Defines a
Relocatable Rule , which can be moved to a priority position in the compiled rule set that
differs from the ConfigurationProvider in which it was created. |
interface |
Rule
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationRuleBuilder
An intermediate stage
Rule configuration. |
class |
DefaultOperationBuilder
Used as a base class to create fluent relationships between
Operation objects; this class adds logical
operators to any class extending it. |
class |
InboundOperation
|
class |
Invoke
|
class |
Log
An
Operation responsible for logging a message. |
static class |
Operations.NoOp |
class |
OutboundOperation
An operation that is only performed if the current
Rewrite event is an OutboundRewrite event. |
class |
RuleBuilder
Builder for fluently defining new composite
Rule instances. |
class |
Subset
|
Modifier and Type | Method and Description |
---|---|
static Operation |
Operations.onInbound(Operation operation)
Wrap the given
Operation in a new InboundOperation which will invoke the wrapped operation only
for inbound rewrites. |
static Operation |
Operations.onOutbound(Operation operation)
Wrap the given
Operation in a new OutboundOperation which will invoke the wrapped operation only
for outbound rewrites. |
Modifier and Type | Method and Description |
---|---|
List<Operation> |
Subset.getOperations() |
List<Operation> |
RuleBuilder.getOperations() |
List<Operation> |
CompositeOperation.getOperations()
Returns all
Operation objects contained within this CompositeOperation ; otherwise, returns an
empty List . |
Modifier and Type | Method and Description |
---|---|
OperationBuilder |
OperationBuilder.and(Operation other)
Join this instance with another
Operation . |
OperationBuilder |
DefaultOperationBuilder.and(Operation other) |
static Operation |
Operations.onInbound(Operation operation)
Wrap the given
Operation in a new InboundOperation which will invoke the wrapped operation only
for inbound rewrites. |
static Operation |
Operations.onOutbound(Operation operation)
Wrap the given
Operation in a new OutboundOperation which will invoke the wrapped operation only
for outbound rewrites. |
ConfigurationRuleBuilderOtherwise |
ConfigurationRuleBuilderWhen.otherwise(Operation condition)
|
ConfigurationRuleBuilderOtherwise |
ConfigurationRuleBuilderPerform.otherwise(Operation condition)
|
ConfigurationRuleBuilder |
ConfigurationRuleBuilder.otherwise(Operation operation)
|
RuleBuilder |
RuleBuilder.perform(Operation operation)
|
ConfigurationRuleBuilderPerform |
ConfigurationRuleBuilderWhen.perform(Operation condition)
|
ConfigurationRuleBuilderPerform |
ConfigurationRuleBuilderCustom.perform(Operation condition)
|
ConfigurationRuleBuilder |
ConfigurationRuleBuilder.perform(Operation operation)
|
void |
ParameterizedOperationVisitor.visit(Operation operation) |
static OperationBuilder |
Operations.wrap(Operation operation)
Wrap a given
Operation as a new DefaultOperationBuilder that performs the action of the original
Operation when #perform(Rewrite, EvaluationContext) is invoked. |
Modifier and Type | Method and Description |
---|---|
void |
OperationVisit.accept(Visitor<Operation> visitor)
Submit the supplied visitor and apply it to all
Operation instances in the tree |
Constructor and Description |
---|
OperationVisit(Operation root)
Initialize class with the supplied root
Operation |
Modifier and Type | Method and Description |
---|---|
void |
EvaluationContext.addPostOperation(Operation operation)
Add a new
Operation to be performed if all conditions of this rule are met. |
void |
EvaluationContext.addPreOperation(Operation operation)
Add a new
Operation to be performed if all conditions of this rule are met. |
Modifier and Type | Interface and Description |
---|---|
interface |
ParameterizedRule
Represents a
Rule that has a ParameterStore . |
Modifier and Type | Method and Description |
---|---|
LocaleTransposition |
LocaleTransposition.onTranspositionFailed(Operation onFailureOperation)
Specify an
Operation to be added as a preOperation in case the Transposition failed. |
Copyright © 2014 OCPsoft. All Rights Reserved.