org.apache.james.core
Class MatcherConfigImpl
java.lang.Object
|
+--org.apache.james.core.MatcherConfigImpl
- All Implemented Interfaces:
- MatcherConfig
- public class MatcherConfigImpl
- extends java.lang.Object
- implements MatcherConfig
The implementation of the configuration object for a Matcher.
- Author:
- Serge Knystautas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatcherConfigImpl
public MatcherConfigImpl()
getCondition
public java.lang.String getCondition()
- Description copied from interface:
MatcherConfig
- The simple condition defined for this matcher, e.g., for
SenderIs=admin@localhost, this would return admin@localhost.
- Specified by:
getCondition
in interface MatcherConfig
- Following copied from interface:
org.apache.mailet.MatcherConfig
- Returns:
- a String containing the value of the initialization parameter
setCondition
public void setCondition(java.lang.String newCondition)
getMatcherName
public java.lang.String getMatcherName()
- Description copied from interface:
MatcherConfig
- 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.
- Specified by:
getMatcherName
in interface MatcherConfig
- Following copied from interface:
org.apache.mailet.MatcherConfig
- Returns:
- the name of the matcher instance
setMatcherName
public void setMatcherName(java.lang.String newName)
getMailetContext
public MailetContext getMailetContext()
- Description copied from interface:
MatcherConfig
- Returns a reference to the MailetContext in which the matcher is executing
- Specified by:
getMailetContext
in interface MatcherConfig
- Following copied from interface:
org.apache.mailet.MatcherConfig
- Returns:
- a MailetContext object, used by the matcher to interact with its
mailet container
setMailetContext
public void setMailetContext(MailetContext newContext)
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.