|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JiraService
| Method Summary | |
|---|---|
String |
create(JiraTask task,
CoinUser user)
Create a new task in Jira. |
void |
delete(String key)
Delete a task from Jira. |
void |
doAction(String key,
JiraTask.Action action)
Re-open or close a Jira task. |
List<JiraTask> |
getTasks(List<String> keys)
Retrieve specific tasks from Jira. |
void |
setBaseUrl(String baseUrl)
Set the base URL of the Jira instance to use |
void |
setPassword(String password)
Set the password to use to authenticate against Jira |
void |
setProjectKey(String projectKey)
The project key used to submit issues |
void |
setUsername(String username)
Set the username to use to authenticate against Jira |
| Method Detail |
|---|
String create(JiraTask task,
CoinUser user)
throws IOException
task - the task you want to createuser - the user which issued the request
IOException - when communicating with jira fails
void delete(String key)
throws IOException
key - the task key
IOException - when communicating with jira fails
void doAction(String key,
JiraTask.Action action)
throws IOException
key - the task keyaction - what action to undertake
IOException - when communicating with jira fails
List<JiraTask> getTasks(List<String> keys)
throws IOException
keys - a list of the task keys you want to retrieve
IOException - when communicating with jira failsvoid setBaseUrl(String baseUrl)
baseUrl - Stringvoid setUsername(String username)
username - the username as a Stringvoid setPassword(String password)
password - Stringvoid setProjectKey(String projectKey)
projectKey - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||