com.pyxis.greenhopper.gadget
Class ContextResource

java.lang.Object
  extended by com.pyxis.greenhopper.gadget.AbstractGadgetResource
      extended by com.pyxis.greenhopper.gadget.ContextResource

public class ContextResource
extends AbstractGadgetResource

Generation and validation resource for the contexts dropdown/selection list in various gadgets configurations

Since:
v5.1

Nested Class Summary
static class ContextResource.ContextOptions
           
static class ContextResource.Option
           
 
Field Summary
static java.lang.String PROJECT_ID
           
static java.lang.String PROJECT_PREFIX
           
static java.lang.String RETURN_IDS
           
 
Constructor Summary
ContextResource(com.atlassian.jira.security.JiraAuthenticationContext authenticationContext, com.atlassian.jira.project.ProjectManager projectManager, com.atlassian.jira.security.PermissionManager permissionManager)
           
 
Method Summary
 javax.ws.rs.core.Response generate(java.lang.String projectIdStr, java.lang.String returnIdsString)
           
 
Methods inherited from class com.pyxis.greenhopper.gadget.AbstractGadgetResource
createErrorResponse, createIndexingUnavailableResponse, createOkResponse, createValidationResponse, response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_ID

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

RETURN_IDS

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

PROJECT_PREFIX

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

ContextResource

public ContextResource(com.atlassian.jira.security.JiraAuthenticationContext authenticationContext,
                       com.atlassian.jira.project.ProjectManager projectManager,
                       com.atlassian.jira.security.PermissionManager permissionManager)
Method Detail

generate

public javax.ws.rs.core.Response generate(java.lang.String projectIdStr,
                                          java.lang.String returnIdsString)


Copyright © 2007-2014 Atlassian. All Rights Reserved.