C# Class Nohal.Redmine.Redmine

Wrapper class for the Redmine project management system
ファイルを表示 Open project: bdrhoa/redmine-client

Public Methods

Method Description
CreateIssue ( Issue newIssue ) : void

Creates new issue in Redmine

DeleteIssue ( int issueId ) : void

Deletes an issue from Redmine

GetActivities ( int projectId ) : List

Gets the list of all available project activities

GetAssignees ( int projectId ) : List

Gets the list of all users available to be assigned to project issue

GetIssues ( int projectId ) : List

Gets the list of all the available issues

GetPriorities ( int projectId ) : List

Gets the list of all available project issue priorities

GetProjects ( ) : List

Gets the list of all the available projects

GetRecentActivity ( int projectId ) : List

Gets the list of recent project activity

GetStatuses ( int projectId ) : List

Gets the list of all available project issue statuses

GetTrackers ( int projectId ) : List

Gets the list of all available project trackers

GetVersions ( int projectId ) : List

Gets the list of all versions project issue can target

GetWatchers ( int projectId ) : List

Gets the list of all the users available as watchers for the project

InvalidateCache ( ) : void

Invalidates the cache.

LogIn ( ) : void

Logs user into Redmine

LogIn ( string username, string password ) : void

Logs user into Redmine

LogOut ( ) : void

Logs out the user.

LogTimeForIssue ( int projectId, int issueId, string description, double timeSpent, System.DateTime date, int activityId ) : void

Logs time spent on an issue

Redmine ( ) : System

Initializes a new instance of the Redmine class.

Private Methods

Method Description
ConstructUri ( string redmineRelativeUri ) : Uri

Constructs the complete URL and tries to eliminate all the possible causes for Uri to fail.

Method Details

CreateIssue() public method

Creates new issue in Redmine
public CreateIssue ( Issue newIssue ) : void
newIssue Issue Issue to create in Redmine
return void

DeleteIssue() public method

Deletes an issue from Redmine
public DeleteIssue ( int issueId ) : void
issueId int Id of the issue to delete
return void

GetActivities() public method

Gets the list of all available project activities
public GetActivities ( int projectId ) : List
projectId int Project Id
return List

GetAssignees() public method

Gets the list of all users available to be assigned to project issue
public GetAssignees ( int projectId ) : List
projectId int Project Id
return List

GetIssues() public method

Gets the list of all the available issues
public GetIssues ( int projectId ) : List
projectId int Project Id
return List

GetPriorities() public method

Gets the list of all available project issue priorities
public GetPriorities ( int projectId ) : List
projectId int Project Id
return List

GetProjects() public method

Gets the list of all the available projects
public GetProjects ( ) : List
return List

GetRecentActivity() public method

Gets the list of recent project activity
public GetRecentActivity ( int projectId ) : List
projectId int Project Id
return List

GetStatuses() public method

Gets the list of all available project issue statuses
public GetStatuses ( int projectId ) : List
projectId int Project Id
return List

GetTrackers() public method

Gets the list of all available project trackers
public GetTrackers ( int projectId ) : List
projectId int Project Id
return List

GetVersions() public method

Gets the list of all versions project issue can target
public GetVersions ( int projectId ) : List
projectId int Project Id
return List

GetWatchers() public method

Gets the list of all the users available as watchers for the project
public GetWatchers ( int projectId ) : List
projectId int ID of the project
return List

InvalidateCache() public method

Invalidates the cache.
public InvalidateCache ( ) : void
return void

LogIn() public method

Logs user into Redmine
public LogIn ( ) : void
return void

LogIn() public method

Logs user into Redmine
public LogIn ( string username, string password ) : void
username string Username in Redmine
password string Password in Redmine
return void

LogOut() public method

Logs out the user.
public LogOut ( ) : void
return void

LogTimeForIssue() public method

Logs time spent on an issue
public LogTimeForIssue ( int projectId, int issueId, string description, double timeSpent, System.DateTime date, int activityId ) : void
projectId int Project Id
issueId int Issue Id
description string Work description
timeSpent double Time spent on the issue
date System.DateTime Date when the work was done
activityId int Activity Id
return void

Redmine() public method

Initializes a new instance of the Redmine class.
public Redmine ( ) : System
return System