| org.apache.mailet.MatcherConfig
All known Subclasses: org.apache.james.core.MatcherConfigImpl, org.apache.mailet.GenericMatcher, org.apache.james.test.mock.mailet.MockMatcherConfig,
MatcherConfig | public interface MatcherConfig (Code) | | A matcher configuration object used by a mailet container used to pass information
to a matcher during initialization.
The configuration information contains an initialization parameter,
which is set as a condition String, and a MailetContext object,
which gives the mailet information about the mailet container.
version: 1.0.0, 24/04/1999 |
getCondition | String getCondition()(Code) | | The simple condition defined for this matcher, e.g., for
SenderIs=admin@localhost, this would return admin@localhost.
a String containing the value of the initialization parameter |
getMailetContext | MailetContext getMailetContext()(Code) | | Returns a reference to the MailetContext in which the matcher is executing
a MailetContext object, used by the matcher to interact with itsmailet container |
getMatcherName | String getMatcherName()(Code) | | 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.
the name of the matcher instance |
|
|