You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2011/02/17 08:49:24 UTC

[jira] Resolved: (JAMES-1196) Add a concrete Class which extends AbstractStorageQuota and can be directly used

     [ https://issues.apache.org/jira/browse/JAMES-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1196.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-M3
         Assignee: Norman Maurer

Add concrete Matcher named MailboxQuotaFixed. Thanks Barry

> Add a concrete Class which extends AbstractStorageQuota and can be directly used
> --------------------------------------------------------------------------------
>
>                 Key: JAMES-1196
>                 URL: https://issues.apache.org/jira/browse/JAMES-1196
>             Project: JAMES Server
>          Issue Type: Improvement
>          Components: Matchers/Mailets (bundled)
>            Reporter: Barry
>            Assignee: Norman Maurer
>            Priority: Minor
>             Fix For: 3.0-M3
>
>
> I think the class as below should be added in default. 
> public class StorageQuotaFixed extends AbstractStorageQuota {
>     @Override
>     protected long getQuota(MailAddress arg0, Mail arg1) throws MessagingException {
> 		return this.parseQuota(this.getCondition());
>     }
> }
> when someone needs the solution for quota space, this matcher can be directly used.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org