public final class PluginHandler extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
createJUnitReport(FilePath workspace,
String JUnitReportFile,
TaskListener listener,
RunCollection buildResult) |
String |
getControllerApiHttpAdderess(String hostname,
String rawPort,
TaskListener listener) |
static PluginHandler |
getInstance() |
ArrayList<String> |
getRawScheduleList(String rawScheduleIds,
String rawScheduleTitles) |
String |
getReportFileName(String rawReportName,
String defaultReportName) |
RunItem |
getRunItem(com.ning.http.client.AsyncHttpClient client,
String controllerApiHttpAddress,
String accessKey,
UUID runItemId,
String scheduleTitle,
boolean doneStatusAsSuccess,
boolean writePassedKeyframes,
TaskListener listener) |
Failure |
getRunItemKeyFrames(com.ning.http.client.AsyncHttpClient client,
String controllerApiHttpAddress,
String accessKey,
UUID runItemId,
RunItem runItem,
String scheduleTitle,
String agentTitle,
TaskListener listener) |
List<UUID> |
getRunRunItems(com.ning.http.client.AsyncHttpClient client,
String controllerApiHttpAddress,
String accessKey,
UUID runId) |
String |
getRunStatus(com.ning.http.client.AsyncHttpClient client,
String controllerApiHttpAddress,
String accessKey,
UUID runId) |
LinkedHashMap<UUID,String> |
getSchedulesIdTitleHashMap(com.ning.http.client.AsyncHttpClient client,
String accessKey,
String controllerApiHttpAddress,
ArrayList<String> rawScheduleList,
TaskListener listener,
ArrayList<InvalidSchedule> invalidSchedules) |
String |
getScheduleVariablesRequestPart(String rawScheduleVariables,
TaskListener listener) |
int |
getTimeDelay(String rawTimeDelay,
TaskListener listener) |
String |
getWorkSpaceSafe(FilePath workspace,
EnvVars env) |
boolean |
isDoneStatusAsSuccess(String doneStatusAs) |
UUID |
runSchedule(com.ning.http.client.AsyncHttpClient client,
String controllerApiHttpAddress,
String accessKey,
UUID scheduleId,
String scheduleTitle,
TaskListener listener,
LeapworkRun run,
String scheduleVariablesRequestPart) |
boolean |
stopRun(String controllerApiHttpAddress,
UUID runId,
String scheduleTitle,
String accessKey,
TaskListener listener) |
public static PluginHandler getInstance()
public String getScheduleVariablesRequestPart(String rawScheduleVariables, TaskListener listener)
public ArrayList<String> getRawScheduleList(String rawScheduleIds, String rawScheduleTitles)
public int getTimeDelay(String rawTimeDelay, TaskListener listener)
public boolean isDoneStatusAsSuccess(String doneStatusAs)
public String getControllerApiHttpAdderess(String hostname, String rawPort, TaskListener listener)
public LinkedHashMap<UUID,String> getSchedulesIdTitleHashMap(com.ning.http.client.AsyncHttpClient client, String accessKey, String controllerApiHttpAddress, ArrayList<String> rawScheduleList, TaskListener listener, ArrayList<InvalidSchedule> invalidSchedules) throws Exception
Exceptionpublic UUID runSchedule(com.ning.http.client.AsyncHttpClient client, String controllerApiHttpAddress, String accessKey, UUID scheduleId, String scheduleTitle, TaskListener listener, LeapworkRun run, String scheduleVariablesRequestPart) throws Exception
Exceptionpublic boolean stopRun(String controllerApiHttpAddress, UUID runId, String scheduleTitle, String accessKey, TaskListener listener)
public void createJUnitReport(FilePath workspace, String JUnitReportFile, TaskListener listener, RunCollection buildResult) throws Exception
Exceptionpublic String getRunStatus(com.ning.http.client.AsyncHttpClient client, String controllerApiHttpAddress, String accessKey, UUID runId) throws Exception
Exceptionpublic List<UUID> getRunRunItems(com.ning.http.client.AsyncHttpClient client, String controllerApiHttpAddress, String accessKey, UUID runId) throws Exception
Exceptionpublic RunItem getRunItem(com.ning.http.client.AsyncHttpClient client, String controllerApiHttpAddress, String accessKey, UUID runItemId, String scheduleTitle, boolean doneStatusAsSuccess, boolean writePassedKeyframes, TaskListener listener) throws Exception
Exceptionpublic Failure getRunItemKeyFrames(com.ning.http.client.AsyncHttpClient client, String controllerApiHttpAddress, String accessKey, UUID runItemId, RunItem runItem, String scheduleTitle, String agentTitle, TaskListener listener) throws Exception
ExceptionCopyright © 2016–2022. All rights reserved.