com.atlassian.jira.projectconfig.rest
Class WorkflowSchemeRestHelper

java.lang.Object
  extended by com.atlassian.jira.projectconfig.rest.WorkflowSchemeRestHelper

public class WorkflowSchemeRestHelper
extends Object

Since:
v5.2

Nested Class Summary
 class WorkflowSchemeRestHelper.ResponseDataBuilder
           
static class WorkflowSchemeRestHelper.SimpleIssueType
           
static class WorkflowSchemeRestHelper.SimpleUser
           
static class WorkflowSchemeRestHelper.SimpleWorkflow
           
static class WorkflowSchemeRestHelper.WorkflowSchemeResponse
           
 
Constructor Summary
WorkflowSchemeRestHelper(PermissionManager permissionManager, WorkflowManager workflowManager, ProjectWorkflowSchemeHelper helper, IssueTypeSchemeManager issueTypeSchemeManager, ComparatorFactory comparatorFactory, DateTimeFormatter dateTimeFormatter, AvatarService avatarService, IssueTypeManager issueTypeManager, WorkflowSchemeMigrationTaskAccessor workflowSchemeMigrationTaskAccessor)
           
 
Method Summary
static javax.ws.rs.core.Response badRequest()
           
 WorkflowSchemeRestHelper.ResponseDataBuilder builder()
           
static javax.ws.rs.core.Response createErrorResponse(javax.ws.rs.core.Response.Status status, String key, I18nHelper i18nHelper)
           
static javax.ws.rs.core.Response createErrorResponse(ServiceResult result)
           
static javax.ws.rs.core.Response notFound()
           
static javax.ws.rs.core.Response ok(Object response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowSchemeRestHelper

public WorkflowSchemeRestHelper(PermissionManager permissionManager,
                                WorkflowManager workflowManager,
                                ProjectWorkflowSchemeHelper helper,
                                IssueTypeSchemeManager issueTypeSchemeManager,
                                ComparatorFactory comparatorFactory,
                                DateTimeFormatter dateTimeFormatter,
                                AvatarService avatarService,
                                IssueTypeManager issueTypeManager,
                                WorkflowSchemeMigrationTaskAccessor workflowSchemeMigrationTaskAccessor)
Method Detail

notFound

public static javax.ws.rs.core.Response notFound()

badRequest

public static javax.ws.rs.core.Response badRequest()

ok

public static javax.ws.rs.core.Response ok(Object response)

createErrorResponse

public static javax.ws.rs.core.Response createErrorResponse(ServiceResult result)

createErrorResponse

public static javax.ws.rs.core.Response createErrorResponse(javax.ws.rs.core.Response.Status status,
                                                            String key,
                                                            I18nHelper i18nHelper)

builder

public WorkflowSchemeRestHelper.ResponseDataBuilder builder()


Copyright © 2002-2014 Atlassian. All Rights Reserved.