public abstract class JamesManageSieveHostSystem extends Object implements ManageSieveHostSystem
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.james.sieverepository.api.SieveRepository |
sieveRepository |
| Constructor and Description |
|---|
JamesManageSieveHostSystem(org.apache.james.user.api.UsersRepository usersRepository,
org.apache.james.sieverepository.api.SieveRepository sieveRepository) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addUser(String user,
String password) |
void |
afterTest() |
void |
afterTests() |
void |
beforeTest() |
void |
beforeTests() |
Session |
newSession(Continuation continuation) |
protected abstract void |
resetData() |
void |
setMaxQuota(String user,
long value) |
protected final org.apache.james.sieverepository.api.SieveRepository sieveRepository
public JamesManageSieveHostSystem(org.apache.james.user.api.UsersRepository usersRepository, org.apache.james.sieverepository.api.SieveRepository sieveRepository) throws Exception
Exceptionpublic boolean addUser(String user, String password) throws Exception
addUser in interface HostSystemExceptionpublic void setMaxQuota(String user, long value) throws Exception
setMaxQuota in interface ManageSieveHostSystemExceptionpublic Session newSession(Continuation continuation) throws Exception
newSession in interface HostSystemnewSession in interface SessionFactoryExceptionpublic void beforeTests() throws Exception
beforeTests in interface HostSystemExceptionpublic void afterTests() throws Exception
afterTests in interface HostSystemExceptionpublic void beforeTest() throws Exception
beforeTest in interface HostSystemExceptionpublic void afterTest() throws Exception
afterTest in interface HostSystemExceptionCopyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.