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 String ADD_ATTACHMENT
           
static String ADD_ISSUE_TIME_ENTRY
           
static String ADD_NEWS
           
static String ADD_VERSION
           
static DateFormat DATE_FORMAT
           
static String GET_ATTACHMENTS_LIST
           
static String GET_ISSUE_CATEGORY_LIST
           
static String GET_ISSUE_LIST
           
static String GET_ISSUE_PRIORITY_LIST
           
static String GET_ISSUE_STATUS_LIST
           
static String GET_ISSUE_TIME_ENTRY_LIST
           
static String GET_NEWS_LIST
           
static String GET_PROJECT
           
static String GET_PROJECT_CLOSED_ISSUES
           
static String GET_PROJECT_ISSUES
           
static String GET_PROJECT_LIST
           
static String GET_PROJECT_OPENED_ISSUES
           
static String GET_TRACKER_LIST
           
static String GET_USER_LIST
           
static String GET_USER_PROJECTS
           
static String GET_VERSION
           
static String GET_VERSION_LIST
           
static String LOGIN
           
static String LOGOUT
           
static String NEXT_VERSION
           
static String PING
           
static 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 DateFormat DATE_FORMAT

GET_ISSUE_LIST

public static final String GET_ISSUE_LIST

GET_ISSUE_STATUS_LIST

public static final String GET_ISSUE_STATUS_LIST

GET_ISSUE_PRIORITY_LIST

public static final String GET_ISSUE_PRIORITY_LIST

GET_ISSUE_CATEGORY_LIST

public static final String GET_ISSUE_CATEGORY_LIST

GET_ISSUE_TIME_ENTRY_LIST

public static final String GET_ISSUE_TIME_ENTRY_LIST

GET_PROJECT_LIST

public static final String GET_PROJECT_LIST

GET_PROJECT_ISSUES

public static final String GET_PROJECT_ISSUES

GET_PROJECT_OPENED_ISSUES

public static final String GET_PROJECT_OPENED_ISSUES

GET_PROJECT_CLOSED_ISSUES

public static final String GET_PROJECT_CLOSED_ISSUES

GET_USER_PROJECTS

public static final String GET_USER_PROJECTS

GET_PROJECT

public static final String GET_PROJECT

GET_VERSION_LIST

public static final String GET_VERSION_LIST

GET_TRACKER_LIST

public static final String GET_TRACKER_LIST

GET_ATTACHMENTS_LIST

public static final String GET_ATTACHMENTS_LIST

GET_USER_LIST

public static final String GET_USER_LIST

GET_NEWS_LIST

public static final String GET_NEWS_LIST

GET_VERSION

public static final String GET_VERSION

ADD_VERSION

public static final String ADD_VERSION

UPDATE_VERSION

public static final String UPDATE_VERSION

NEXT_VERSION

public static final String NEXT_VERSION

ADD_NEWS

public static final String ADD_NEWS

ADD_ATTACHMENT

public static final String ADD_ATTACHMENT

ADD_ISSUE_TIME_ENTRY

public static final String ADD_ISSUE_TIME_ENTRY

LOGIN

public static final String LOGIN
See Also:
Constant Field Values

LOGOUT

public static final String LOGOUT
See Also:
Constant Field Values

PING

public static final 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 IOException
Specified by:
open in class org.nuiton.io.rest.RestClient
Throws:
IOException

close

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

ping

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

login

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


Copyright © 2009-2010 CodeLutin. All Rights Reserved.