|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface PriorityManager
Manager for Priorityies
| Method Summary | |
|---|---|
Priority |
createPriority(String name,
String description,
String iconUrl,
String color)
Create a new priority. |
void |
editPriority(Priority priority,
String name,
String description,
String iconUrl,
String color)
Edit an existing priority. |
Priority |
getDefaultPriority()
Returns the default priority. |
List<Priority> |
getPriorities()
Returns all priorities. |
Priority |
getPriority(String id)
Returns a priority. |
void |
movePriorityDown(String id)
Move the resolution down in the order. |
void |
movePriorityUp(String id)
Move the resolution up in the order. |
void |
removePriority(String id,
String newPriorityId)
Removes a priority. |
void |
setDefaultPriority(String id)
Sets the default priority. |
| Method Detail |
|---|
Priority createPriority(String name,
String description,
String iconUrl,
String color)
name - name of the priority. Cannot be blank or null. Must be unique.description - description of the priorityiconUrl - icon url of the prioritycolor - color for the priority.
Priority
void editPriority(Priority priority,
String name,
String description,
String iconUrl,
String color)
priority - existing priority.name - name of the prioritydescription - description of the priorityiconUrl - icon Url of the prioritycolor - color of the priorityList<Priority> getPriorities()
movePriorityDown(String) or movePriorityUp(String)
Priority
void removePriority(String id,
String newPriorityId)
id - priority id to remove.newPriorityId - priority to use for all issues which have the priority which has been removed. Cannot be null.Priority getPriority(String id)
id - priority id
Priority or null if no priority with the specified id could be found.void setDefaultPriority(String id)
id - priority idPriority getDefaultPriority()
Priority or if none configured null.void movePriorityUp(String id)
id - id of the resolution.void movePriorityDown(String id)
id - id of the resolution.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||