org.nuiton.jredmine.rest
Class RedmineRestClient

java.lang.Object
  extended by org.nuiton.io.rest.RestClient
      extended by org.nuiton.jredmine.rest.RedmineRestClient

public class RedmineRestClient
extends org.nuiton.io.rest.RestClient

Implementation of a RestClient to access a Redmine server via the redmine_rest rails plugin.

Since:
1.0.0
Author:
chemit
Plexus component:
role:
"org.nuiton.io.rest.RestClient"
role-hint:
"redmine"

Field Summary
static java.lang.String ADD_ATTACHMENT
           
static java.lang.String ADD_NEWS
           
static java.lang.String ADD_VERSION
           
static java.text.DateFormat DATE_FORMAT
           
static java.lang.String GET_ATTACHMENTS_LIST
           
static java.lang.String GET_ISSUE_CATEGORY_LIST
           
static java.lang.String GET_ISSUE_LIST
           
static java.lang.String GET_ISSUE_PRIORITY_LIST
           
static java.lang.String GET_ISSUE_STATUS_LIST
           
static java.lang.String GET_NEWS_LIST
           
static java.lang.String GET_PROJECT
           
static java.lang.String GET_PROJECT_LIST
           
static java.lang.String GET_TRACKER_LIST
           
static java.lang.String GET_USER_LIST
           
static java.lang.String GET_VERSION
           
static java.lang.String GET_VERSION_LIST
           
static java.lang.String LOGIN
           
static java.lang.String LOGOUT
           
static java.lang.String NEXT_VERSION
           
static java.lang.String PING
           
static java.lang.String UPDATE_VERSION
           
 
Fields inherited from class org.nuiton.io.rest.RestClient
configuration, requestBuilders, session
 
Constructor Summary
RedmineRestClient()
           
RedmineRestClient(org.nuiton.io.rest.RestClientConfiguration configuration)
           
 
Method Summary
protected  void addDefaultRequests()
           
protected  void close(org.nuiton.io.rest.RestSession session)
           
protected  void login(org.nuiton.io.rest.RestSession session)
           
protected  void open(org.nuiton.io.rest.RestSession session)
           
protected  void ping(org.nuiton.io.rest.RestSession session)
           
 
Methods inherited from class org.nuiton.io.rest.RestClient
addRequestBuilder, askData, close, getConfiguration, getRequest, getSession, isOpen, open, sendData, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

public static final java.text.DateFormat DATE_FORMAT

GET_ISSUE_LIST

public static final java.lang.String GET_ISSUE_LIST

GET_ISSUE_STATUS_LIST

public static final java.lang.String GET_ISSUE_STATUS_LIST

GET_ISSUE_PRIORITY_LIST

public static final java.lang.String GET_ISSUE_PRIORITY_LIST

GET_ISSUE_CATEGORY_LIST

public static final java.lang.String GET_ISSUE_CATEGORY_LIST

GET_PROJECT_LIST

public static final java.lang.String GET_PROJECT_LIST

GET_PROJECT

public static final java.lang.String GET_PROJECT

GET_VERSION_LIST

public static final java.lang.String GET_VERSION_LIST

GET_TRACKER_LIST

public static final java.lang.String GET_TRACKER_LIST

GET_ATTACHMENTS_LIST

public static final java.lang.String GET_ATTACHMENTS_LIST

GET_USER_LIST

public static final java.lang.String GET_USER_LIST

GET_NEWS_LIST

public static final java.lang.String GET_NEWS_LIST

GET_VERSION

public static final java.lang.String GET_VERSION

ADD_VERSION

public static final java.lang.String ADD_VERSION

UPDATE_VERSION

public static final java.lang.String UPDATE_VERSION

NEXT_VERSION

public static final java.lang.String NEXT_VERSION

ADD_NEWS

public static final java.lang.String ADD_NEWS

ADD_ATTACHMENT

public static final java.lang.String ADD_ATTACHMENT

LOGIN

public static final java.lang.String LOGIN
See Also:
Constant Field Values

LOGOUT

public static final java.lang.String LOGOUT
See Also:
Constant Field Values

PING

public static final java.lang.String PING
See Also:
Constant Field Values
Constructor Detail

RedmineRestClient

public RedmineRestClient()

RedmineRestClient

public RedmineRestClient(org.nuiton.io.rest.RestClientConfiguration configuration)
Method Detail

addDefaultRequests

protected void addDefaultRequests()
Specified by:
addDefaultRequests in class org.nuiton.io.rest.RestClient

open

protected void open(org.nuiton.io.rest.RestSession session)
             throws java.io.IOException
Specified by:
open in class org.nuiton.io.rest.RestClient
Throws:
java.io.IOException

close

protected void close(org.nuiton.io.rest.RestSession session)
              throws java.io.IOException
Specified by:
close in class org.nuiton.io.rest.RestClient
Throws:
java.io.IOException

ping

protected void ping(org.nuiton.io.rest.RestSession session)
             throws java.io.IOException
Throws:
java.io.IOException

login

protected void login(org.nuiton.io.rest.RestSession session)
              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009 CodeLutin. All Rights Reserved.