|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RedmineServiceImplementor
Technical contrat te be implemented in a RedmineService.
Any concrete implentation of a RedmineService should also implements
this service.
| Method Summary | ||
|---|---|---|
void |
destroy()
Close the service and destroy any connexions to the redmine service. |
|
|
getData(java.lang.Class<T> type,
java.lang.Object... args)
Generic method to obtain a single data from a redmine server. |
|
|
getDatas(java.lang.Class<T> type,
java.lang.Object... args)
Generic method to obtain a array of data from a redmine server. |
|
|
getDatasStream(java.lang.Class<T> type,
java.lang.Object... args)
Generic method to obtain an input stream of an array of data from a redmine server. |
|
|
getDataStream(java.lang.Class<T> type,
java.lang.Object... args)
Generic method to obtain an input stream of a data from a redmine server. |
|
RedmineServiceImplementor |
init(org.nuiton.io.rest.RestClient client)
Initialize the service given a redmine client already initialized. |
|
RedmineServiceImplementor |
init(org.nuiton.io.rest.RestClientConfiguration configuration)
Initialize the service given a client configuration. |
|
boolean |
isInit()
Tests if the service is loogued to the redmine service. |
|
| Method Detail |
|---|
boolean isInit()
true is service is init and loggued to Redmine service,
false otherwise.
RedmineServiceImplementor init(org.nuiton.io.rest.RestClient client)
throws RedmineServiceException
client - the redmine client to be used by the service
RedmineServiceExceptionRedmineRestClient
RedmineServiceImplementor init(org.nuiton.io.rest.RestClientConfiguration configuration)
throws RedmineServiceException
configuration - the configuration to be used to init the internal redmine client
RedmineServiceException
void destroy()
throws RedmineServiceException
RedmineServiceException
<T> T getData(java.lang.Class<T> type,
java.lang.Object... args)
throws RedmineServiceException
T - the type of data to obtaintype - the type of data to obtainargs - the parameters to obtain the data
RedmineServiceException
<T> T[] getDatas(java.lang.Class<T> type,
java.lang.Object... args)
throws RedmineServiceException
T - the type of data to obtaintype - the type of data to obtainargs - the parameters to obtain the datas
RedmineServiceException
<T> java.io.InputStream getDataStream(java.lang.Class<T> type,
java.lang.Object... args)
throws RedmineServiceException
T - the type of data to obtaintype - the type of data to obtainargs - the parameters to obtain the data
RedmineServiceException
<T> java.io.InputStream getDatasStream(java.lang.Class<T> type,
java.lang.Object... args)
throws RedmineServiceException
T - the type of data to obtaintype - the type of data to obtainargs - the parameters to obtain the datas
RedmineServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||