public class

AxisJiraClientHelper

extends Object
java.lang.Object
   ↳ org.mule.module.jira.api.AxisJiraClientHelper

Summary

Constants
String DATE_FORMAT
String EMPTY_PARENT_KEY
Fields
private static final RemoteFieldValue[] EMPTY_FIELDS
private static final RemoteCustomFieldValue[] EMPTY_REMOTE_CUSTOM_FIELDS
private static final SimpleDateFormat SIMPLE_DATE_FORMAT
private AxisJiraClient axisJiraClient
Public Constructors
AxisJiraClientHelper(AxisJiraClient axisJiraClient)
Protected Methods
RemoteComment createComment(String commentAuthor, String commentBody, String commentGroupLevel, String commentRoleLevel)
RemoteIssue createIssue(String assignee, String summary, String description, String dueDate, String environment, String priority, String project, String reporter, String type, Long votes, Map<String, List<String>> customFields, String componentName, String componentId)
RemoteFieldValue[] createRemoteFieldValues(Map<String, List<String>> fields)
RemoteWorklog createRemoteWorklog(String timeSpent, String startDate, String comment, String groupLevel, String roleLevelId)
RemoteVersion createVersion(String versionName, Boolean archived, Boolean released, String releaseDate)
Calendar getCalendar(String dateString)
RemoteScheme getNotificationScheme(String token, String notificationSchemeName)
RemotePermission getPermission(String token, Long permissionCode)
RemotePermissionScheme getPermissionScheme(String token, String permissionSchemeName)
RemoteCustomFieldValue[] getRemoteCustomFieldValues(Map<String, List<String>> customFields)
List<RemoteUser> getRemoteUsers(String token, String[] usernames)
RemoteScheme getSecurityScheme(String token, String securityShemeName)
RemoteEntity getUserOrUserGroupByName(String token, String entityName)
RemoteVersion getVersion(String token, String projectKey, String versionName)
RemoteWorklog getWorklog(String token, String issueKey, String worklogId)
void upateSecurityScheme(String token, String securityShemeName, RemoteProject project)
void updateCommentAuthor(RemoteComment comment, String updateAuthor)
void updateCommentBody(RemoteComment comment, String body)
void updateDescription(RemoteProject project, String description)
void updateLead(RemoteProject project, String lead)
void updateName(RemoteProject project, String name)
void updateNotificationScheme(String token, String notificationSchemeName, RemoteProject project)
void updatePermissionScheme(String token, String permissionSchemeName, RemoteProject project)
void updateProjectRoleDescription(RemoteProjectRole projectRole, String projectRoleDescription)
void updateProjectRoleName(RemoteProjectRole projectRole, String projectRoleName)
void updateUrl(RemoteProject project, String url)
void updateWorkLog(RemoteWorklog worklog, String comment, String groupLevel, String roleLevelId)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final String DATE_FORMAT

Constant Value: "MM-dd-yyy'T'HH:mm:ss"

private static final String EMPTY_PARENT_KEY

Constant Value: ""

Fields

private static final RemoteFieldValue[] EMPTY_FIELDS

private static final RemoteCustomFieldValue[] EMPTY_REMOTE_CUSTOM_FIELDS

private static final SimpleDateFormat SIMPLE_DATE_FORMAT

private AxisJiraClient axisJiraClient

Public Constructors

public AxisJiraClientHelper (AxisJiraClient axisJiraClient)

Parameters
axisJiraClient

Protected Methods

protected RemoteComment createComment (String commentAuthor, String commentBody, String commentGroupLevel, String commentRoleLevel)

Parameters
commentAuthor
commentBody
commentGroupLevel
commentRoleLevel

protected RemoteIssue createIssue (String assignee, String summary, String description, String dueDate, String environment, String priority, String project, String reporter, String type, Long votes, Map<String, List<String>> customFields, String componentName, String componentId)

Parameters
assignee
summary
description
dueDate
environment
priority
project
reporter
type
votes
customFields
componentName
componentId

protected RemoteFieldValue[] createRemoteFieldValues (Map<String, List<String>> fields)

Parameters
fields

protected RemoteWorklog createRemoteWorklog (String timeSpent, String startDate, String comment, String groupLevel, String roleLevelId)

Parameters
timeSpent
startDate
comment
groupLevel
roleLevelId

protected RemoteVersion createVersion (String versionName, Boolean archived, Boolean released, String releaseDate)

Parameters
versionName
archived
released
releaseDate

protected Calendar getCalendar (String dateString)

Parameters
dateString

protected RemoteScheme getNotificationScheme (String token, String notificationSchemeName)

Parameters
token
notificationSchemeName

protected RemotePermission getPermission (String token, Long permissionCode)

Parameters
token
permissionCode

protected RemotePermissionScheme getPermissionScheme (String token, String permissionSchemeName)

Parameters
token
permissionSchemeName

protected RemoteCustomFieldValue[] getRemoteCustomFieldValues (Map<String, List<String>> customFields)

Parameters
customFields

protected List<RemoteUser> getRemoteUsers (String token, String[] usernames)

Parameters
token
usernames

protected RemoteScheme getSecurityScheme (String token, String securityShemeName)

Parameters
token
securityShemeName

protected RemoteEntity getUserOrUserGroupByName (String token, String entityName)

Parameters
token
entityName

protected RemoteVersion getVersion (String token, String projectKey, String versionName)

Parameters
token
projectKey
versionName

protected RemoteWorklog getWorklog (String token, String issueKey, String worklogId)

Parameters
token
issueKey
worklogId

protected void upateSecurityScheme (String token, String securityShemeName, RemoteProject project)

Parameters
token
securityShemeName
project

protected void updateCommentAuthor (RemoteComment comment, String updateAuthor)

Parameters
comment
updateAuthor

protected void updateCommentBody (RemoteComment comment, String body)

Parameters
comment
body

protected void updateDescription (RemoteProject project, String description)

Parameters
project
description

protected void updateLead (RemoteProject project, String lead)

Parameters
project
lead

protected void updateName (RemoteProject project, String name)

Parameters
project
name

protected void updateNotificationScheme (String token, String notificationSchemeName, RemoteProject project)

Parameters
token
notificationSchemeName
project

protected void updatePermissionScheme (String token, String permissionSchemeName, RemoteProject project)

Parameters
token
permissionSchemeName
project

protected void updateProjectRoleDescription (RemoteProjectRole projectRole, String projectRoleDescription)

Parameters
projectRole
projectRoleDescription

protected void updateProjectRoleName (RemoteProjectRole projectRole, String projectRoleName)

Parameters
projectRole
projectRoleName

protected void updateUrl (RemoteProject project, String url)

Parameters
project
url

protected void updateWorkLog (RemoteWorklog worklog, String comment, String groupLevel, String roleLevelId)

Parameters
worklog
comment
groupLevel
roleLevelId