public class Kanboard extends Object
| Constructor and Description |
|---|
Kanboard() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
createComment(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId,
String userId,
String content) |
static boolean |
createExternalTaskLink(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId,
String url,
String creatorId) |
static Object |
createSubtask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId,
String userId,
String title) |
static Object |
createTask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String projectId,
String taskRefValue,
String creatorId,
String ownerId,
String taskTitleValue,
String taskDescValue,
String columnId,
String swimlaneId,
String taskColorValue) |
static boolean |
createTaskFile(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer projectId,
Integer taskId,
String filename,
String encodedFile,
String creatorId) |
static net.minidev.json.JSONArray |
getAllExternalTaskLinks(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId) |
static Object |
getAllSubtasks(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId) |
static net.minidev.json.JSONArray |
getAllTaskFiles(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId) |
static int |
getColPositionFromColumnId(String columnId,
net.minidev.json.JSONArray projectColumns) |
static String |
getColumnIdFromColPosition(Integer colPosition,
net.minidev.json.JSONArray projectColumns) |
static net.minidev.json.JSONObject |
getProjectByIdentifier(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String projectIdentifierValue) |
static net.minidev.json.JSONArray |
getProjectColumns(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String projectId) |
static net.minidev.json.JSONObject |
getTask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String taskId) |
static String[] |
getTaskAttachemntsValue(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener,
String taskAttachments) |
static net.minidev.json.JSONObject |
getTaskByReference(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String projectId,
String taskRefValue) |
static String[] |
getTaskExternalLinksValue(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener,
String taskExternalLinks) |
static net.minidev.json.JSONObject |
getUserByName(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String username) |
static boolean |
moveTaskPosition(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer projectId,
Integer taskId,
Integer newColumnId,
Integer newPosition,
Integer swimlaneId) |
static boolean |
removeTaskFile(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer fileId) |
static boolean |
updateTask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String taskId,
String newOwnerId) |
public static Object createComment(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session, hudson.model.TaskListener listener, Integer taskId, String userId, String content) throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException, hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static boolean createExternalTaskLink(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId,
String url,
String creatorId)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static Object createSubtask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session, hudson.model.TaskListener listener, Integer taskId, String userId, String title) throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException, hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static Object createTask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session, hudson.model.TaskListener listener, String projectId, String taskRefValue, String creatorId, String ownerId, String taskTitleValue, String taskDescValue, String columnId, String swimlaneId, String taskColorValue) throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException, hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static boolean createTaskFile(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer projectId,
Integer taskId,
String filename,
String encodedFile,
String creatorId)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static net.minidev.json.JSONArray getAllExternalTaskLinks(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId)
throws hudson.AbortException,
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
hudson.AbortExceptioncom.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionpublic static Object getAllSubtasks(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session, hudson.model.TaskListener listener, Integer taskId) throws hudson.AbortException, com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
hudson.AbortExceptioncom.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionpublic static net.minidev.json.JSONArray getAllTaskFiles(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer taskId)
throws hudson.AbortException,
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
hudson.AbortExceptioncom.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionpublic static net.minidev.json.JSONObject getProjectByIdentifier(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String projectIdentifierValue)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static net.minidev.json.JSONArray getProjectColumns(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String projectId)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static net.minidev.json.JSONObject getTask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String taskId)
throws hudson.AbortException,
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
hudson.AbortExceptioncom.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionpublic static String[] getTaskAttachemntsValue(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener, String taskAttachments) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationExceptionIOExceptionInterruptedExceptionpublic static net.minidev.json.JSONObject getTaskByReference(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String projectId,
String taskRefValue)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static String[] getTaskExternalLinksValue(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener, String taskExternalLinks) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationExceptionIOExceptionInterruptedExceptionpublic static net.minidev.json.JSONObject getUserByName(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String username)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static boolean moveTaskPosition(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer projectId,
Integer taskId,
Integer newColumnId,
Integer newPosition,
Integer swimlaneId)
throws hudson.AbortException,
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException
hudson.AbortExceptioncom.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionpublic static boolean removeTaskFile(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
Integer fileId)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static boolean updateTask(com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session session,
hudson.model.TaskListener listener,
String taskId,
String newOwnerId)
throws com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionException,
hudson.AbortException
com.thetransactioncompany.jsonrpc2.client.JSONRPC2SessionExceptionhudson.AbortExceptionpublic static int getColPositionFromColumnId(String columnId, net.minidev.json.JSONArray projectColumns)
Copyright © 2016. All rights reserved.