public interface ConfigurationRuleBuilderInterceptor
extends org.ocpsoft.common.pattern.Weighted
ConfigurationBuilder when defining rules.
Additional interceptors may be specified by providing a service activator file containing the name of your
implementations:
/META-INF/services/org.ocpsoft.rewrite.config.ConfigurationBuilderInterceptor
--------------
com.example.ConfigurationBuilderInterceptorImpl
| Modifier and Type | Method and Description |
|---|---|
List<Operation> |
otherwise(List<Operation> list)
Intercept, modify, or replace the given
Operation instances |
Operation |
otherwise(Operation operation)
Intercept, modify, or replace the given
Operation |
List<Operation> |
perform(List<Operation> list)
Intercept, modify, or replace the given
Operation instances |
Operation |
perform(Operation operation)
Intercept, modify, or replace the given
Operation |
Condition |
when(Condition condition)
Intercept, modify, or replace the given
Condition |
List<Condition> |
when(List<Condition> list)
Intercept, modify, or replace the given
Condition instances |
String |
withId(String id)
Intercept, modify, or replace the given ID
|
int |
withPriority(int priority)
Intercept, modify, or replace the given priority
|
Condition when(Condition condition)
ConditionConfigurationRuleBuilder.when(Condition)List<Condition> when(List<Condition> list)
Condition instancesList<Operation> perform(List<Operation> list)
Operation instancesOperation otherwise(Operation operation)
OperationList<Operation> otherwise(List<Operation> list)
Operation instancesint withPriority(int priority)
String withId(String id)
ConfigurationRuleBuilder.withId(String)Copyright © 2021 OCPsoft. All rights reserved.