pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core
Class RuleBasedRedirectorConfig.Rule

java.lang.Object
  extended by org.torweg.pulse.component.core.RuleBasedRedirectorConfig.Rule
All Implemented Interfaces:
INamed
Enclosing class:
RuleBasedRedirectorConfig

public static final class RuleBasedRedirectorConfig.Rule
extends java.lang.Object
implements INamed

represents a redirect rule.


Constructor Summary
RuleBasedRedirectorConfig.Rule(java.lang.String n, CommandMatcher m, CommandBuilder c)
          creates a new Rule.
 
Method Summary
 CommandBuilder getCommandBuilder()
          returns the builder.
 CommandMatcher getCommandMatcher()
          returns the matcher.
 java.lang.String getName()
          returns the name of the Rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleBasedRedirectorConfig.Rule

public RuleBasedRedirectorConfig.Rule(java.lang.String n, CommandMatcher m, CommandBuilder c)
creates a new Rule.

Parameters:
n - the name
m - the matcher
c - the target builder
Method Detail

getCommandMatcher

public CommandMatcher getCommandMatcher()
returns the matcher.

Returns:
the matcher

getCommandBuilder

public CommandBuilder getCommandBuilder()
returns the builder.

Returns:
the builder

getName

public java.lang.String getName()
returns the name of the Rule.

Specified by:
getName in interface INamed
Returns:
the name of the rule.