Package | Description |
---|---|
org.ocpsoft.rewrite.config | |
org.ocpsoft.rewrite.param |
Modifier and Type | Interface and Description |
---|---|
interface |
CompositeCondition
A
Condition that aggregates one or more conditions. |
interface |
ConditionBuilder
|
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 |
And
Evaluates all provided
Condition instances. |
class |
ConfigurationRuleBuilder
An intermediate stage
Rule configuration. |
class |
DefaultConditionBuilder
Used as a base class to create fluent relationships between
Condition objects; this class adds logical
operators to any class extending it. |
class |
Direction
Responsible for evaluating
Rewrite events on whether they are InboundRewrite or
OutboundRewrite events. |
class |
False
Condition that always returns false . |
class |
Filesystem
|
class |
Not
Evaluates all provided
Condition instances. |
class |
Or
Evaluates all provided
Condition instances. |
class |
RuleBuilder
Builder for fluently defining new composite
Rule instances. |
class |
True
Condition that always returns true . |
Modifier and Type | Method and Description |
---|---|
List<Condition> |
RuleBuilder.getConditions() |
List<Condition> |
Or.getConditions() |
List<Condition> |
Not.getConditions() |
List<Condition> |
CompositeCondition.getConditions()
Returns all
Condition objects contained within this CompositeCondition ; otherwise, returns an
empty List . |
List<Condition> |
And.getConditions() |
Modifier and Type | Method and Description |
---|---|
static And |
And.all(Condition... conditions)
Creates a new
And condition. |
ConditionBuilder |
DefaultConditionBuilder.and(Condition condition) |
ConditionBuilder |
ConditionBuilder.and(Condition condition)
|
ConditionBuilder |
DefaultConditionBuilder.andNot(Condition condition) |
ConditionBuilder |
ConditionBuilder.andNot(Condition condition)
|
static Or |
Or.any(Condition... conditions)
Creates a new
Or condition. |
static Not |
Not.any(Condition condition)
Evaluates all provided
Condition instances. |
ConditionBuilder |
DefaultConditionBuilder.or(Condition condition) |
ConditionBuilder |
ConditionBuilder.or(Condition condition)
Append a new
Condition to this builder. |
ConditionBuilder |
DefaultConditionBuilder.orNot(Condition condition) |
ConditionBuilder |
ConditionBuilder.orNot(Condition condition)
Append a new
Condition to this builder. |
void |
ParameterizedConditionVisitor.visit(Condition condition) |
RuleBuilder |
RuleBuilder.when(Condition condition)
|
ConfigurationRuleBuilderWhen |
ConfigurationRuleBuilderCustom.when(Condition condition)
|
ConfigurationRuleBuilder |
ConfigurationRuleBuilder.when(Condition condition)
|
static ConditionBuilder |
Conditions.wrap(Condition condition)
Wrap a given
Condition as a new DefaultConditionBuilder that evaluates the the original
Condition when #evaluate(Rewrite, EvaluationContext) is invoked. |
Modifier and Type | Method and Description |
---|---|
void |
RuleBuilder.accept(Visitor<Condition> visitor)
This method will call the supplied visitor for all conditions attached to the rule builder.
|
void |
ConditionVisit.accept(Visitor<Condition> visitor)
Submit the supplied visitor and apply it to all
Condition instances in the tree |
Constructor and Description |
---|
ConditionVisit(Condition root)
Initialize class with the supplied root
Condition |
Modifier and Type | Interface and Description |
---|---|
interface |
ParameterizedRule
Represents a
Rule that has a ParameterStore . |
Copyright © 2014 OCPsoft. All Rights Reserved.