public class MatcherConfigImpl extends Object implements org.apache.mailet.MatcherConfig
Constructor and Description |
---|
MatcherConfigImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getCondition()
The simple condition defined for this matcher, e.g., for
SenderIs=admin@localhost, this would return admin@localhost.
|
org.apache.mailet.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(org.apache.mailet.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.
|
public String getCondition()
getCondition
in interface org.apache.mailet.MatcherConfig
public void setCondition(String newCondition)
public String getMatcherName()
getMatcherName
in interface org.apache.mailet.MatcherConfig
public void setMatcherName(String newName)
newName
- the name of the matcher instancepublic org.apache.mailet.MailetContext getMailetContext()
getMailetContext
in interface org.apache.mailet.MatcherConfig
public void setMailetContext(org.apache.mailet.MailetContext newContext)
newContext
- a MailetContext object, used by the matcher to interact with
its mailet containerCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.