Methods Summary |
---|
public java.lang.String | getCondition()The simple condition defined for this matcher, e.g., for
SenderIs=admin@localhost, this would return admin@localhost.
return condition;
|
public org.apache.mailet.MailetContext | getMailetContext()Returns a reference to the MailetContext in which the matcher is executing
return context;
|
public java.lang.String | getMatcherName()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.
return name;
|
public void | setCondition(java.lang.String newCondition)Set the simple condition defined for this matcher configuration.
condition = newCondition;
|
public void | setMailetContext(org.apache.mailet.MailetContext newContext)Sets a reference to the MailetContext in which the matcher is executing
context = newContext;
|
public void | setMatcherName(java.lang.String newName)Sets the name of this matcher instance.
name = newName;
|