com.atlassian.jira.rest.v1.projectcategories
Class ProjectCategoriesResource

java.lang.Object
  extended by com.atlassian.jira.rest.v1.projectcategories.ProjectCategoriesResource

public class ProjectCategoriesResource
extends Object

REST endpoint for setting the active Project Category.


Nested Class Summary
static class ProjectCategoriesResource.ActiveCategory
           
 
Constructor Summary
ProjectCategoriesResource(JiraAuthenticationContext jiraAuthenticationContext, VelocityRequestContextFactory contextFactory, ProjectManager projectManager, PermissionManager permissionManager)
           
 
Method Summary
 javax.ws.rs.core.Response getCurrent()
          Returns the active Project Category.
 javax.ws.rs.core.Response setCurrent(ProjectCategoriesResource.ActiveCategory activeCategory)
          Sets the active project category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectCategoriesResource

public ProjectCategoriesResource(JiraAuthenticationContext jiraAuthenticationContext,
                                 VelocityRequestContextFactory contextFactory,
                                 ProjectManager projectManager,
                                 PermissionManager permissionManager)
Method Detail

getCurrent

public javax.ws.rs.core.Response getCurrent()
Returns the active Project Category.

Returns:
the active Project Category

setCurrent

public javax.ws.rs.core.Response setCurrent(ProjectCategoriesResource.ActiveCategory activeCategory)
Sets the active project category.

Parameters:
activeCategory - the active project category
Returns:
a 200 response.


Copyright © 2002-2014 Atlassian. All Rights Reserved.