Class ExecutionRequests
- java.lang.Object
-
- com.github.angleshq.angles.api.requests.BaseRequests
-
- com.github.angleshq.angles.api.requests.ExecutionRequests
-
public class ExecutionRequests extends BaseRequests
-
-
Field Summary
-
Fields inherited from class com.github.angleshq.angles.api.requests.BaseRequests
baseUrl, client, gson
-
-
Constructor Summary
Constructors Constructor Description ExecutionRequests(String baseUrl)ExecutionRequests(String baseUrl, org.apache.http.client.config.RequestConfig requestConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Executioncreate(CreateExecution createExecution)Booleandelete(String executionId)Execution[]get()Executionget(String executionId)Executionplatforms(String executionId, Platform... platforms)Executionupdate(Execution execution)-
Methods inherited from class com.github.angleshq.angles.api.requests.BaseRequests
getDefaultErrorMessage, processErrorResponse, processResponse, sendDelete, sendJSONGet, sendJSONGet, sendJSONPost, sendJSONPut, sendMultiPartEntity
-
-
-
-
Method Detail
-
create
public Execution create(CreateExecution createExecution) throws IOException, AnglesServerException
- Throws:
IOExceptionAnglesServerException
-
get
public Execution[] get() throws IOException, AnglesServerException
- Throws:
IOExceptionAnglesServerException
-
get
public Execution get(String executionId) throws IOException, AnglesServerException
- Throws:
IOExceptionAnglesServerException
-
delete
public Boolean delete(String executionId) throws IOException, AnglesServerException
- Throws:
IOExceptionAnglesServerException
-
update
public Execution update(Execution execution) throws IOException, AnglesServerException
- Throws:
IOExceptionAnglesServerException
-
platforms
public Execution platforms(String executionId, Platform... platforms) throws IOException, AnglesServerException
- Throws:
IOExceptionAnglesServerException
-
-