public interface HostService extends QTestService
| Modifier and Type | Method and Description |
|---|---|
void |
activateAutomationAgent(ActivateAutomationAgentRequest activateAgentRequest)
Active or inactive the automation agent to qTest service.
|
void |
deleteAutomationAgent(DeleteAutomationAgentRequest deleteAutomationAgentRequest)
Delete automation agent
|
java.util.List<Job> |
listJobs(ListJobRequest listJobRequest)
List all automation jobs from qTest server in a period
|
PongMessage |
pingHost(PingAutomationHostRequest pingRequest)
Ping host.
|
AutomationAgent |
registerAutomationAgent(CreateAutomationAgentRequest automationAgentRequest)
Register the automation agent to qTest service.
|
AutomationHost |
registerAutomationHost(CreateAutomationHostRequest automationHostRequest)
Register the automation host to qTest service.
|
AutomationAgent |
updateAutomationAgent(UpdateAutomationAgentRequest automationAgentRequest)
update the automation agent to qTest service.
|
AutomationHost |
updateAutomationHost(UpdateAutomationHostRequest automationHostRequest) |
void |
updateJobStatus(UpdateJobStatusRequest updateJobStatusRequest)
Update job instance status
|
setEndpoint, shutdownAutomationHost registerAutomationHost(CreateAutomationHostRequest automationHostRequest) throws AuthClientException
automationHostRequest - the given register automation host request.AuthClientException - if an error occurs during registering automation host.AutomationAgent registerAutomationAgent(CreateAutomationAgentRequest automationAgentRequest) throws AuthClientException
automationAgentRequest - the given register agent request to send to qTest.AuthClientException - if an error occurs during registering automation agent.AutomationHost updateAutomationHost(UpdateAutomationHostRequest automationHostRequest) throws AuthClientException
AuthClientExceptionAutomationAgent updateAutomationAgent(UpdateAutomationAgentRequest automationAgentRequest) throws AuthClientException
automationAgentRequest - the given update agent request to send to qTest.AuthClientException - if an error occurs during update automation agent.void activateAutomationAgent(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.List<Job> listJobs(ListJobRequest listJobRequest) throws AuthClientException
listJobRequest - the list jobs request.AuthClientException - if an error occurs during listing jobs.PongMessage pingHost(PingAutomationHostRequest pingRequest) throws AuthClientException
pingRequest - the given ping request.AuthClientException - if an error occurs during ping host.void updateJobStatus(UpdateJobStatusRequest updateJobStatusRequest) throws AuthServiceException
updateJobStatusRequest - the given job status to set.AuthServiceException - if an error occurs during updating job status.void deleteAutomationAgent(DeleteAutomationAgentRequest deleteAutomationAgentRequest) throws AuthClientException
deleteAutomationAgentRequest - the given delete automation agent request.AuthClientException - if an error occurs during deleting automation agent.