public class PrioritySchemesControl extends BackdoorControl<PrioritySchemesControl>
Modifier and Type | Class and Description |
---|---|
static class |
PrioritySchemesControl.PrioritySchemeData |
Constructor and Description |
---|
PrioritySchemesControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
void |
assignProject(long schemeId,
long projectId) |
long |
createPriorityScheme(String name,
String description,
List<String> priorities) |
protected com.sun.jersey.api.client.WebResource |
createResource() |
void |
deletePriorityScheme(long id) |
long |
getOrCreateDefaultPriorityScheme() |
List<Long> |
getProjectWithScheme(long schemeId) |
PrioritySchemesControl.PrioritySchemeData |
getSchemeByName(String name) |
List<PrioritySchemesControl.PrioritySchemeData> |
getSchemes() |
void |
removePriorityFromAllSchemes(String priorityId) |
void |
setDefaultPriority(long id,
String priorityId) |
void |
unassignProject(long schemeId,
long projectId) |
void |
updatePriorityScheme(long id,
String name,
String description,
List<String> priorities) |
createResourceForPath, createResourceForPath, get, getRestModulePath
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public PrioritySchemesControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
public List<PrioritySchemesControl.PrioritySchemeData> getSchemes()
public PrioritySchemesControl.PrioritySchemeData getSchemeByName(String name)
public long createPriorityScheme(String name, String description, List<String> priorities)
public void updatePriorityScheme(long id, String name, String description, List<String> priorities)
public void deletePriorityScheme(long id)
public void setDefaultPriority(long id, String priorityId)
public void assignProject(long schemeId, long projectId)
public void unassignProject(long schemeId, long projectId)
public void removePriorityFromAllSchemes(String priorityId)
public long getOrCreateDefaultPriorityScheme()
protected com.sun.jersey.api.client.WebResource createResource()
createResource
in class BackdoorControl<PrioritySchemesControl>
Copyright © 2002-2019 Atlassian. All Rights Reserved.