public interface HostServiceAsync extends HostService
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<java.lang.Void> |
activateAutomationAgentAsync(ActivateAutomationAgentRequest activateAgentRequest)
Activate or deactivate the automation agent to qTest service.
|
java.util.concurrent.Future<java.lang.Void> |
activateAutomationAgentAsync(ActivateAutomationAgentRequest activateAgentRequest,
AsyncHandler<ActivateAutomationAgentRequest,java.lang.Void> asyncHandler)
Activate or Deactivate the automation agent to qTest service.
|
java.util.concurrent.Future<java.lang.Void> |
deleteAutomationAgentAsync(DeleteAutomationAgentRequest deleteAutomationAgentRequest)
delete automation agent
|
java.util.concurrent.Future<java.lang.Void> |
deleteAutomationAgentAsync(DeleteAutomationAgentRequest deleteAutomationAgentRequest,
AsyncHandler<DeleteAutomationAgentRequest,java.lang.Void> asyncHandler)
delete automation host
|
java.util.concurrent.Future<java.util.List<Job>> |
listJobsAsync(ListJobRequest listJobRequest)
Get all runnable jobs from qTest server in a period
|
java.util.concurrent.Future<java.util.List<Job>> |
listJobsAsync(ListJobRequest listJobRequest,
AsyncHandler<ListJobRequest,java.util.List<Job>> asyncHandler)
Get all jobs to execute.
|
java.util.concurrent.Future<PongMessage> |
pingHostAsync(PingAutomationHostRequest pingHostRequest)
Send ping host to server.
|
java.util.concurrent.Future<PongMessage> |
pingHostAsync(PingAutomationHostRequest pingHostRequest,
AsyncHandler<PingAutomationHostRequest,PongMessage> asyncHandler)
Send ping host to server.
|
java.util.concurrent.Future<AutomationAgent> |
registerAutomationAgentAsync(CreateAutomationAgentRequest automationAgentRequest)
Register the automation agent to qTest service.
|
java.util.concurrent.Future<AutomationAgent> |
registerAutomationAgentAsync(CreateAutomationAgentRequest automationAgentRequest,
AsyncHandler<CreateAutomationAgentRequest,AutomationAgent> asyncHandler)
Register the automation agent to qTest service.
|
java.util.concurrent.Future<AutomationHost> |
registerAutomationHostAsync(CreateAutomationHostRequest automationHostRequest)
Register the automation host to qTest service.
|
java.util.concurrent.Future<AutomationHost> |
registerAutomationHostAsync(CreateAutomationHostRequest automationHostRequest,
AsyncHandler<CreateAutomationHostRequest,AutomationHost> asyncHandler)
Register the automation host to qTest service.
|
java.util.concurrent.Future<AutomationAgent> |
updateAutomationAgentAsync(UpdateAutomationAgentRequest automationAgentRequest)
Update the automation agent to qTest service.
|
java.util.concurrent.Future<AutomationAgent> |
updateAutomationAgentAsync(UpdateAutomationAgentRequest automationAgentRequest,
AsyncHandler<UpdateAutomationAgentRequest,AutomationAgent> asyncHandler)
Update the automation agent to qTest service.
|
java.util.concurrent.Future<java.lang.Void> |
updateJobStatusAsync(UpdateJobStatusRequest updateJobStatusRequest)
Update job instance status
|
java.util.concurrent.Future<java.lang.Void> |
updateJobStatusAsync(UpdateJobStatusRequest updateJobStatusRequest,
AsyncHandler<UpdateJobStatusRequest,java.lang.Void> asyncHandler)
Update job instance status
|
activateAutomationAgent, deleteAutomationAgent, listJobs, pingHost, registerAutomationAgent, registerAutomationHost, updateAutomationAgent, updateAutomationHost, updateJobStatussetEndpoint, shutdownjava.util.concurrent.Future<AutomationHost> registerAutomationHostAsync(CreateAutomationHostRequest automationHostRequest) throws AuthClientException
automationHostRequest - the given register automation host request.AuthClientException - if an error occurs during registering automation host.java.util.concurrent.Future<AutomationHost> registerAutomationHostAsync(CreateAutomationHostRequest automationHostRequest, AsyncHandler<CreateAutomationHostRequest,AutomationHost> asyncHandler) throws AuthClientException
automationHostRequest - the given register automation host request.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during registering automation host.java.util.concurrent.Future<AutomationAgent> registerAutomationAgentAsync(CreateAutomationAgentRequest automationAgentRequest) throws AuthClientException
automationAgentRequest - the given register agent request to send to qTest.AuthClientException - if an error occurs during registering automation agent.java.util.concurrent.Future<AutomationAgent> registerAutomationAgentAsync(CreateAutomationAgentRequest automationAgentRequest, AsyncHandler<CreateAutomationAgentRequest,AutomationAgent> asyncHandler) throws AuthClientException
automationAgentRequest - the given register agent request to send to qTest.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during registering automation agent.java.util.concurrent.Future<java.util.List<Job>> listJobsAsync(ListJobRequest listJobRequest) throws AuthClientException
listJobRequest - the given get list jobs request to sent to server.AuthClientException - if an error occurs during list job.java.util.concurrent.Future<java.util.List<Job>> listJobsAsync(ListJobRequest listJobRequest, AsyncHandler<ListJobRequest,java.util.List<Job>> asyncHandler) throws AuthClientException
listJobRequest - the given list job request to send to qTest.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during requesting.java.util.concurrent.Future<PongMessage> pingHostAsync(PingAutomationHostRequest pingHostRequest) throws AuthClientException
pingHostRequest - the given ping host request to send to server.AuthClientException - if an error occurs during send ping request to server.java.util.concurrent.Future<PongMessage> pingHostAsync(PingAutomationHostRequest pingHostRequest, AsyncHandler<PingAutomationHostRequest,PongMessage> asyncHandler) throws AuthClientException
pingHostRequest - the given ping host request to send to server.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during send ping request to server.java.util.concurrent.Future<AutomationAgent> updateAutomationAgentAsync(UpdateAutomationAgentRequest automationAgentRequest) throws AuthClientException
automationAgentRequest - the given update agent request to send to qTest.AuthClientException - if an error occurs during updating automation agent.java.util.concurrent.Future<AutomationAgent> updateAutomationAgentAsync(UpdateAutomationAgentRequest automationAgentRequest, AsyncHandler<UpdateAutomationAgentRequest,AutomationAgent> asyncHandler) throws AuthClientException
automationAgentRequest - the given update agent request to send to qTest.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during updating automation agent.java.util.concurrent.Future<java.lang.Void> activateAutomationAgentAsync(ActivateAutomationAgentRequest activateAgentRequest) throws AuthClientException
activateAgentRequest - the given activate agent request to send to qTest.AuthClientException - if an error occurs during activating automation agent.java.util.concurrent.Future<java.lang.Void> activateAutomationAgentAsync(ActivateAutomationAgentRequest activateAgentRequest, AsyncHandler<ActivateAutomationAgentRequest,java.lang.Void> asyncHandler) throws AuthClientException
activateAgentRequest - the given activate agent request to send to qTest.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during activating automation agent.java.util.concurrent.Future<java.lang.Void> updateJobStatusAsync(UpdateJobStatusRequest updateJobStatusRequest) throws AuthServiceException
updateJobStatusRequest - the given update job request.AuthServiceException - if an error occurs during updating job status.java.util.concurrent.Future<java.lang.Void> updateJobStatusAsync(UpdateJobStatusRequest updateJobStatusRequest, AsyncHandler<UpdateJobStatusRequest,java.lang.Void> asyncHandler) throws AuthServiceException
updateJobStatusRequest - the given update job request.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthServiceException - if an error occurs during updating job status.java.util.concurrent.Future<java.lang.Void> deleteAutomationAgentAsync(DeleteAutomationAgentRequest deleteAutomationAgentRequest) throws AuthServiceException
deleteAutomationAgentRequest - deleteAutomationAgentRequestAuthClientException - if an error occurs during updating automation agent.AuthServiceExceptionjava.util.concurrent.Future<java.lang.Void> deleteAutomationAgentAsync(DeleteAutomationAgentRequest deleteAutomationAgentRequest, AsyncHandler<DeleteAutomationAgentRequest,java.lang.Void> asyncHandler) throws AuthServiceException
deleteAutomationAgentRequest - deleteAutomationAgentRequestasyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during updating automation agent.AuthServiceException