Package org.ocpsoft.rewrite.config
Interface ConfigurationRuleBuilderOtherwise
- All Superinterfaces:
Configuration,ConfigurationBuilderRoot,ConfigurationRuleBuilderWithMetadata
- All Known Subinterfaces:
ConfigurationRuleParameterMatches
- All Known Implementing Classes:
ConfigurationRuleBuilder,ConfigurationRuleParameterBuilder
public interface ConfigurationRuleBuilderOtherwise
extends ConfigurationBuilderRoot, ConfigurationRuleBuilderWithMetadata
An intermediate stage
Rule configuration.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionConfigure theParameterwith the given name.Set the ID for the currentRule.withPriority(int priority) Set the priority of thisRuleinstance.Methods inherited from interface org.ocpsoft.rewrite.config.Configuration
getRulesMethods inherited from interface org.ocpsoft.rewrite.config.ConfigurationBuilderRoot
addRule, addRuleMethods inherited from interface org.ocpsoft.rewrite.config.ConfigurationRuleBuilderWithMetadata
withMetadata
-
Method Details
-
withId
Set the ID for the currentRule. This may be used in logging and for rule lookup purposes. -
withPriority
Set the priority of thisRuleinstance. If#priority()differs from the priority of theConfigurationProviderfrom which this rule was returned, then relocate this rule to its new priority position in the compiled rule set. -
where
Configure theParameterwith the given name.
-