Class ExecutionManagerServer
- java.lang.Object
-
- com.worksoft.jenkinsci.plugins.em.model.ExecutionManagerServer
-
public class ExecutionManagerServer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExecutionManagerServer(java.lang.String url, com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.sf.json.JSONObject
bookmarks()
java.lang.String
escapeParameter(java.lang.String value)
java.lang.String
executeBookmark(java.lang.String bookmark, java.lang.String folder, java.util.Map<java.lang.String,java.lang.String> parameters)
java.lang.String
executeProcesses(net.sf.json.JSONObject processes, java.util.Map<java.lang.String,java.lang.String> parameters)
java.lang.String
executeRequest(java.lang.String request, java.util.Map<java.lang.String,java.lang.String> parameters)
EmResult
executionAbort(java.lang.String guid)
EmResult
executionStatus(java.lang.String guid)
EmResult
getLastEMResult()
boolean
login()
net.sf.json.JSONObject
requests()
java.lang.String
sanitizeParameter(java.lang.String value)
-
-
-
Method Detail
-
getLastEMResult
public EmResult getLastEMResult()
-
login
public boolean login() throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
-
bookmarks
public net.sf.json.JSONObject bookmarks()
-
requests
public net.sf.json.JSONObject requests()
-
escapeParameter
public java.lang.String escapeParameter(java.lang.String value)
-
sanitizeParameter
public java.lang.String sanitizeParameter(java.lang.String value)
-
executeRequest
public java.lang.String executeRequest(java.lang.String request, java.util.Map<java.lang.String,java.lang.String> parameters)
-
executeBookmark
public java.lang.String executeBookmark(java.lang.String bookmark, java.lang.String folder, java.util.Map<java.lang.String,java.lang.String> parameters)
-
executeProcesses
public java.lang.String executeProcesses(net.sf.json.JSONObject processes, java.util.Map<java.lang.String,java.lang.String> parameters)
-
executionStatus
public EmResult executionStatus(java.lang.String guid)
-
executionAbort
public EmResult executionAbort(java.lang.String guid)
-
-