public abstract class AbstractRedmineService extends Object
RedmineClient.| Constructor and Description |
|---|
AbstractRedmineService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkInit() |
protected void |
checkLoggued() |
protected void |
checkSessionConfigurationNotNull() |
protected void |
checkSessionNotNull() |
void |
destroy() |
protected <T> T |
executeRequestAndReturnData(RedmineRequest<T> request) |
protected <T> T[] |
executeRequestAndReturnDatas(RedmineRequest<T> request) |
RedmineClient |
getClient() |
void |
init(RedmineServiceConfiguration configuration) |
boolean |
isInit() |
public boolean isInit()
public void init(RedmineServiceConfiguration configuration) throws RedmineServiceException
RedmineServiceExceptionpublic void destroy()
throws RedmineServiceException
RedmineServiceExceptionpublic RedmineClient getClient()
protected <T> T executeRequestAndReturnData(RedmineRequest<T> request) throws RedmineServiceException
RedmineServiceExceptionprotected <T> T[] executeRequestAndReturnDatas(RedmineRequest<T> request) throws RedmineServiceException
RedmineServiceExceptionprotected void checkInit()
throws IllegalStateException
IllegalStateExceptionprotected void checkSessionNotNull()
protected void checkSessionConfigurationNotNull()
protected void checkLoggued()
throws IllegalStateException,
RedmineServiceLoginException,
NullPointerException
Copyright © 2009–2016 CodeLutin. All rights reserved.