| java.lang.Object org.apache.james.core.MatcherConfigImpl
MatcherConfigImpl | public class MatcherConfigImpl implements MatcherConfig(Code) | | Implements the configuration object for a Matcher.
|
getCondition | public String getCondition()(Code) | | The simple condition defined for this matcher, e.g., for
SenderIs=admin@localhost, this would return admin@localhost.
a String containing the value of the initialization parameter |
getMailetContext | public MailetContext getMailetContext()(Code) | | Returns a reference to the MailetContext in which the matcher is executing
a MailetContext object, used by the matcher to interact with itsmailet container |
getMatcherName | public String getMatcherName()(Code) | | Returns the name of this matcher instance. The name may be provided via server
administration, assigned in the application deployment descriptor, or for
an unregistered (and thus unnamed) matcher instance it will be the matcher's
class name.
the name of the matcher instance |
setCondition | public void setCondition(String newCondition)(Code) | | Set the simple condition defined for this matcher configuration.
|
setMailetContext | public void setMailetContext(MailetContext newContext)(Code) | | Sets a reference to the MailetContext in which the matcher is executing
Parameters: newContext - a MailetContext object, used by the matcher to interactwith its mailet container |
setMatcherName | public void setMatcherName(String newName)(Code) | | Sets the name of this matcher instance.
Parameters: newName - the name of the matcher instance |
|
|