Class FunctionsService
java.lang.Object
dev.botcity.maestro_sdk.functions.LoginContext
dev.botcity.maestro_sdk.functions.FunctionsService
-
Field Summary
Fields inherited from class dev.botcity.maestro_sdk.functions.LoginContext
accessToken, ignoreSSL, server
-
Method Summary
Modifier and TypeMethodDescriptionSTART Alert FunctionscreateCredential
(String credentialLabel, String key, String value) START Credential FunctionscreateError
(Integer taskId, Exception exception, File fileScreenshot, Map<String, Object> tags, List<File> fileAttachmentList) START Error FunctionscreateTask
(String label, Map<String, Object> params, boolean taskToTest) finishTask
(String taskId, String finishMessage, AutomationTask.FinishStatus status) dev.botcity.api.client.login.GetToken
getAccessTokenBotExecution
(BotExecution execution) byte[]
getArtifactFile
(String artifactId) static FunctionsService
getInstance
(String server, dev.botcity.api.client.login.GetToken accessToken, boolean ignoreSSL) byte[]
getLogFile
(String logId, Integer days) START TasK FunctionsinterruptTask
(String taskId) Deprecated.listTasks
(dev.botcity.api.client.login.GetToken accessToken) newLogEntry
(String logId, Map<String, Object> columns) START Log FunctionspostArtifact
(String taskId, String name, File artifactFile) START Artifact FunctionsrestartTask
(String taskId) Methods inherited from class dev.botcity.maestro_sdk.functions.LoginContext
validateAccessTokenAndServer
-
Method Details
-
getInstance
public static FunctionsService getInstance(String server, dev.botcity.api.client.login.GetToken accessToken, boolean ignoreSSL) -
getAccessTokenBotExecution
-
getTask
START TasK Functions -
interruptTask
-
listTasks
-
listTasks
-
restartTask
-
finishTask
public AutomationTask finishTask(String taskId, String finishMessage, AutomationTask.FinishStatus status) -
listTasks
Deprecated. -
createTask
-
newLogEntry
START Log Functions -
getLogFile
-
newLog
-
getLog
-
deleteLog
-
postArtifact
START Artifact Functions -
getArtifactFile
-
listArtifact
-
alert
START Alert Functions -
message
public ResponseData message(List<String> email, String subject, String body, MessageType type, String group) -
createCredential
START Credential Functions -
createError
public ResponseData createError(Integer taskId, Exception exception, File fileScreenshot, Map<String, Object> tags, List<File> fileAttachmentList) START Error Functions
-