|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.james.core.MatcherConfigImpl
Implements the configuration object for a Matcher.
Constructor Summary | |
MatcherConfigImpl()
|
Method Summary | |
String |
getCondition()
The simple condition defined for this matcher, e.g., for SenderIs=admin@localhost, this would return admin@localhost. |
MailetContext |
getMailetContext()
Returns a reference to the MailetContext in which the matcher is executing |
String |
getMatcherName()
Returns the name of this matcher instance. |
void |
setCondition(String newCondition)
Set the simple condition defined for this matcher configuration. |
void |
setMailetContext(MailetContext newContext)
Sets a reference to the MailetContext in which the matcher is executing |
void |
setMatcherName(String newName)
Sets the name of this matcher instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MatcherConfigImpl()
Method Detail |
public String getCondition()
getCondition
in interface MatcherConfig
public void setCondition(String newCondition)
public String getMatcherName()
getMatcherName
in interface MatcherConfig
public void setMatcherName(String newName)
newName
- the name of the matcher instancepublic MailetContext getMailetContext()
getMailetContext
in interface MatcherConfig
public void setMailetContext(MailetContext newContext)
newContext
- a MailetContext object, used by the matcher to interact
with its mailet container
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |