vincenzo    2003/09/22 05:12:01

  Modified:    src/xdocs Tag: branch_2_1_fcs provided_matchers_2_1.xml
  Added:       src/java/org/apache/james/transport/matchers Tag:
                        branch_2_1_fcs HasMailAttributeWithValueRegex.java
  Log:
  HasMailAttributeWithValueRegex matcher added.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.4.3   +15 -0     james-server/src/xdocs/provided_matchers_2_1.xml
  
  Index: provided_matchers_2_1.xml
  ===================================================================
  RCS file: /home/cvs/james-server/src/xdocs/provided_matchers_2_1.xml,v
  retrieving revision 1.2.4.2
  retrieving revision 1.2.4.3
  diff -u -r1.2.4.2 -r1.2.4.3
  --- provided_matchers_2_1.xml 19 Sep 2003 14:53:58 -0000      1.2.4.2
  +++ provided_matchers_2_1.xml 22 Sep 2003 12:12:00 -0000      1.2.4.3
  @@ -73,6 +73,21 @@
   </code></pre>
   </p>
   </subsection>
  +<subsection name="HasMailAttributeWithValueRegex">
  +<p>Description: Matches mails that have the specified Mail Attribute and 
  +a MailAttribute value that matches the specified regular expression.
  +All recipients are returned.</p>
  +<p>MailAttributes are types of Object whereas the value specified in the Matcher
  +condition is of type String. The toString() method is used to obtain a String
  +representation of the Mail Attribute value for matching. The regular
  +expression must follow Perl5 syntax.</p>
  +<p>Configuration string: The name of the Mail Attribute to be matched,  a comma
  +and then the regular expression used to match the value against. For example:<br/>
  +<pre><code>
  +&lt;mailet match="HasMailAttributeWithValueRegex=name, regex" 
class=&quot;&lt;any-class&gt;&quot;&gt;
  +</code></pre>
  +</p>
  +</subsection>
   <subsection name="HostIs">
   <p>Description: Matches mails that are sent to email addresses on hosts that are in 
the configuration list.  Only 
   recipients that are on one of the hosts are returned.</p>
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +0 -0      
james-server/src/java/org/apache/james/transport/matchers/HasMailAttributeWithValueRegex.java
  
  Index: HasMailAttributeWithValueRegex.java
  ===================================================================
  RCS file: 
/home/cvs/james-server/src/java/org/apache/james/transport/matchers/HasMailAttributeWithValueRegex.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to