james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (JAMES-1196) Add a concrete Class which extends AbstractStorageQuota and can be directly used
Date Thu, 17 Feb 2011 05:49:24 GMT
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
            Priority: Minor


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


Mime
View raw message