|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.core.MatcherConfigImpl
public class MatcherConfigImpl
Implements the configuration object for a Matcher.
| Constructor Summary | |
|---|---|
MatcherConfigImpl()
|
|
| Method Summary | |
|---|---|
java.lang.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 |
java.lang.String |
getMatcherName()
Returns the name of this matcher instance. |
void |
setCondition(java.lang.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(java.lang.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 java.lang.String getCondition()
getCondition in interface MatcherConfigpublic void setCondition(java.lang.String newCondition)
public java.lang.String getMatcherName()
getMatcherName in interface MatcherConfigpublic void setMatcherName(java.lang.String newName)
newName - the name of the matcher instancepublic MailetContext getMailetContext()
getMailetContext in interface MatcherConfigpublic 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 | |||||||||