public class TestDesignServiceAsyncClient extends TestDesignServiceClient implements TestDesignServiceAsync
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
TestDesignServiceAsyncClient()
Constructs a new client to invoke service method on TestDesignService using
the default qTest credentials provider and default client configuration options.
|
TestDesignServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestDesignService using
the default qTest credentials provider and client configuration options.
|
TestDesignServiceAsyncClient(ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestDesignService using
the default qTest credentials provider and client configuration options.
|
TestDesignServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestDesignService using
the default qTest credentials provider and default client configuration options.
|
TestDesignServiceAsyncClient(QTestCredentials credentials)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials.
|
TestDesignServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials and client configuration options.
|
TestDesignServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials and client configuration options.
|
TestDesignServiceAsyncClient(QTestCredentials credentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials.
|
TestDesignServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials provider and client configuration options.
|
TestDesignServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<TestCase> |
addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest)
Creates testcase comment from the given request.
|
java.util.concurrent.Future<TestCase> |
addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest,
AsyncHandler<CreateObjectCommentRequest,TestCase> asyncHandler)
Creates testcase comment from the given request.
|
java.util.concurrent.Future<AutomationTestCase> |
createAutomationTestCaseAsync(CreateAutomationTestCaseRequest automationTestCaseRequest)
Creates the
automation test case from the given
create automation test case request |
java.util.concurrent.Future<AutomationTestCase> |
createAutomationTestCaseAsync(CreateAutomationTestCaseRequest automationTestCaseRequest,
AsyncHandler<CreateAutomationTestCaseRequest,AutomationTestCase> asyncHandler)
Creates the
automation test case from the given
create automation test case request |
java.util.concurrent.Future<TestCase> |
createTestCaseAsync(CreateTestCaseRequest testCaseRequest)
Creates the
test case from the given
create test case request |
java.util.concurrent.Future<TestCase> |
createTestCaseAsync(CreateTestCaseRequest testCaseRequest,
AsyncHandler<CreateTestCaseRequest,TestCase> asyncHandler)
Creates the
test case from the given
create test case request |
java.util.concurrent.Future<TestStep> |
createTestStepAsync(CreateTestStepRequest testStepRequest)
Creates the
test step from the given create test step request |
java.util.concurrent.Future<TestStep> |
createTestStepAsync(CreateTestStepRequest testStepRequest,
AsyncHandler<CreateTestStepRequest,TestStep> asyncHandler)
Creates the
test step from the given create test step request |
java.util.concurrent.Future<TestCase> |
getTestCaseAsync(GetTestCaseRequest testCaseRequest)
Gets
TestCase from the given test case request |
java.util.concurrent.Future<TestCase> |
getTestCaseAsync(GetTestCaseRequest testCaseRequest,
AsyncHandler<GetTestCaseRequest,TestCase> asyncHandler)
Gets
TestCase from the given test case request |
java.util.concurrent.Future<java.util.List<Field>> |
getTestCaseFieldsAsync(GetTestCaseFieldsRequest getTestCaseFieldsRequest)
Gets the test-case custom fields.
|
java.util.concurrent.Future<java.util.List<Field>> |
getTestCaseFieldsAsync(GetTestCaseFieldsRequest getTestCaseFieldsRequest,
AsyncHandler<GetTestCaseFieldsRequest,java.util.List<Field>> asyncHandler)
Gets the test-case custom fields.
|
java.util.concurrent.Future<TestStep> |
getTestStepAsync(GetTestStepRequest testStepRequest)
Gets
TestStep from the given test step request |
java.util.concurrent.Future<TestStep> |
getTestStepAsync(GetTestStepRequest testStepRequest,
AsyncHandler<GetTestStepRequest,TestStep> asyncHandler)
Gets
TestStep from the given test step request |
java.util.concurrent.Future<java.util.List<TestCase>> |
listTestCaseAsync(ListTestCaseRequest listTestCaseRequest)
Lists all test case in the current project.
|
java.util.concurrent.Future<java.util.List<TestCase>> |
listTestCaseAsync(ListTestCaseRequest listTestCaseRequest,
AsyncHandler<ListTestCaseRequest,java.util.List<TestCase>> asyncHandler)
Lists all test case in the current project.
|
java.util.concurrent.Future<java.util.List<TestStep>> |
listTestStepAsync(ListTestStepRequest testStepRequest)
Gets list of
TestStep from the given test step request |
java.util.concurrent.Future<java.util.List<TestStep>> |
listTestStepAsync(ListTestStepRequest testStepRequest,
AsyncHandler<ListTestStepRequest,java.util.List<TestStep>> asyncHandler)
Gets list of
TestStep from the given test step request |
void |
shutdown()
Shutdown this client object, release any resources that might be held
open.
|
addComment, approveTestCase, createAutomationTestCase, createTestCase, createTestStep, deleteTestCase, getTestCase, getTestCaseFields, getTestStep, listTestCase, listTestStep, moveTestCase, updateTestCaseinit, invoke, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddComment, approveTestCase, createAutomationTestCase, createTestCase, createTestStep, deleteTestCase, getTestCase, getTestCaseFields, getTestStep, listTestCase, listTestStep, moveTestCase, updateTestCasesetEndpointpublic TestDesignServiceAsyncClient()
public TestDesignServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
executorService - the executor service for executing asynchronous request.public TestDesignServiceAsyncClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServicepublic TestDesignServiceAsyncClient(ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
clientConfiguration - The client configuration options controlling how this
client connects to TestDesignService.executorService - the executor service for executing asynchronous request.public TestDesignServiceAsyncClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public TestDesignServiceAsyncClient(QTestCredentials credentials, java.util.concurrent.ExecutorService executorService)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.executorService - the executor service for executing asynchronous request.public TestDesignServiceAsyncClient(QTestCredentials credentials, ClientConfiguration clientConfiguration)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServicepublic TestDesignServiceAsyncClient(QTestCredentials credentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServiceexecutorService - the executor service for executing asynchronous request.public TestDesignServiceAsyncClient(QTestCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServicepublic TestDesignServiceAsyncClient(QTestCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServiceexecutorService - the executor service for executing asynchronous request.public java.util.concurrent.Future<java.util.List<TestCase>> listTestCaseAsync(ListTestCaseRequest listTestCaseRequest) throws AuthServiceException
TestDesignServiceAsynclistTestCaseAsync in interface TestDesignServiceAsynclistTestCaseRequest - the given list test case request
object.test case object.AuthServiceException - if an error occurs during listing all test case objects.public java.util.concurrent.Future<java.util.List<TestCase>> listTestCaseAsync(ListTestCaseRequest listTestCaseRequest, AsyncHandler<ListTestCaseRequest,java.util.List<TestCase>> asyncHandler) throws AuthServiceException
TestDesignServiceAsynclistTestCaseAsync in interface TestDesignServiceAsynclistTestCaseRequest - the given list test case request
object.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.test case object.AuthServiceException - if an error occurs during listing all test case objects.public java.util.concurrent.Future<TestCase> getTestCaseAsync(GetTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServiceAsyncTestCase from the given test case requestgetTestCaseAsync in interface TestDesignServiceAsynctestCaseRequest - the given test case requestTestCase instance.AuthServiceException - if an error occurs during getting the test case.public java.util.concurrent.Future<TestCase> getTestCaseAsync(GetTestCaseRequest testCaseRequest, AsyncHandler<GetTestCaseRequest,TestCase> asyncHandler) throws AuthServiceException
TestDesignServiceAsyncTestCase from the given test case requestgetTestCaseAsync in interface TestDesignServiceAsynctestCaseRequest - the given test case requestasyncHandler - 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.TestCase instance.AuthServiceException - if an error occurs during getting the test case.public java.util.concurrent.Future<TestStep> getTestStepAsync(GetTestStepRequest testStepRequest) throws AuthServiceException
TestDesignServiceAsyncTestStep from the given test step requestgetTestStepAsync in interface TestDesignServiceAsynctestStepRequest - the given test step requestTestStep instance.AuthServiceException - if an error occurs during getting the test case.public java.util.concurrent.Future<TestStep> getTestStepAsync(GetTestStepRequest testStepRequest, AsyncHandler<GetTestStepRequest,TestStep> asyncHandler) throws AuthServiceException
TestDesignServiceAsyncTestStep from the given test step requestgetTestStepAsync in interface TestDesignServiceAsynctestStepRequest - the given test step requestasyncHandler - 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.TestStep instance.AuthServiceException - if an error occurs during getting the test case.public java.util.concurrent.Future<java.util.List<TestStep>> listTestStepAsync(ListTestStepRequest testStepRequest) throws AuthServiceException
TestDesignServiceAsyncTestStep from the given test step requestlistTestStepAsync in interface TestDesignServiceAsynctestStepRequest - the given test step requestTestStep instance.AuthServiceException - if an error occurs during getting the test step.public java.util.concurrent.Future<java.util.List<TestStep>> listTestStepAsync(ListTestStepRequest testStepRequest, AsyncHandler<ListTestStepRequest,java.util.List<TestStep>> asyncHandler) throws AuthServiceException
TestDesignServiceAsyncTestStep from the given test step requestlistTestStepAsync in interface TestDesignServiceAsynctestStepRequest - the given test step requestasyncHandler - 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.TestStep instance.AuthServiceException - if an error occurs during getting the test step.public java.util.concurrent.Future<TestCase> createTestCaseAsync(CreateTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServiceAsynctest case from the given
create test case requestcreateTestCaseAsync in interface TestDesignServiceAsynctestCaseRequest - the given create test case request
instance.test case instance.AuthServiceException - if an error occurs during creating test case instance.public java.util.concurrent.Future<TestCase> createTestCaseAsync(CreateTestCaseRequest testCaseRequest, AsyncHandler<CreateTestCaseRequest,TestCase> asyncHandler) throws AuthServiceException
TestDesignServiceAsynctest case from the given
create test case requestcreateTestCaseAsync in interface TestDesignServiceAsynctestCaseRequest - the given create test case request
instance.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.test case instance.AuthServiceException - if an error occurs during creating test case instance.public java.util.concurrent.Future<TestStep> createTestStepAsync(CreateTestStepRequest testStepRequest) throws AuthServiceException
TestDesignServiceAsynctest step from the given create test step requestcreateTestStepAsync in interface TestDesignServiceAsynctestStepRequest - the given create test step request
instance.test step instance.AuthServiceException - if an error occurs during creating test step instance.public java.util.concurrent.Future<TestStep> createTestStepAsync(CreateTestStepRequest testStepRequest, AsyncHandler<CreateTestStepRequest,TestStep> asyncHandler) throws AuthServiceException
TestDesignServiceAsynctest step from the given create test step requestcreateTestStepAsync in interface TestDesignServiceAsynctestStepRequest - the given create test step request
instance.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.test step instance.AuthServiceException - if an error occurs during creating test step instance.public java.util.concurrent.Future<java.util.List<Field>> getTestCaseFieldsAsync(GetTestCaseFieldsRequest getTestCaseFieldsRequest) throws AuthServiceException
TestDesignServiceAsyncgetTestCaseFieldsAsync in interface TestDesignServiceAsyncgetTestCaseFieldsRequest - the given get testcase field request
informationAuthServiceException - if an error occurs during getting test-case custom fields.public java.util.concurrent.Future<java.util.List<Field>> getTestCaseFieldsAsync(GetTestCaseFieldsRequest getTestCaseFieldsRequest, AsyncHandler<GetTestCaseFieldsRequest,java.util.List<Field>> asyncHandler) throws AuthServiceException
TestDesignServiceAsyncgetTestCaseFieldsAsync in interface TestDesignServiceAsyncgetTestCaseFieldsRequest - the given get testcase field request
information.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 getting test-case custom fields.public java.util.concurrent.Future<TestCase> addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest) throws AuthServiceException
TestDesignServiceAsyncaddCommentAsync in interface TestDesignServiceAsynccreateObjectCommentRequest - the given create testcase comment request
instance.TestCase instance.AuthServiceException - if an error occurs during adding comment.public java.util.concurrent.Future<TestCase> addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest, AsyncHandler<CreateObjectCommentRequest,TestCase> asyncHandler) throws AuthServiceException
TestDesignServiceAsyncaddCommentAsync in interface TestDesignServiceAsynccreateObjectCommentRequest - the given create testcase comment request
instance.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.TestCase instance.AuthServiceException - if an error occurs during adding comment.public java.util.concurrent.Future<AutomationTestCase> createAutomationTestCaseAsync(CreateAutomationTestCaseRequest automationTestCaseRequest) throws AuthServiceException
TestDesignServiceAsyncautomation test case from the given
create automation test case requestcreateAutomationTestCaseAsync in interface TestDesignServiceAsyncautomationTestCaseRequest - the given create automation test case request
instance.automation test case instance.AuthServiceException - if an error occurs during creating test case instance.public java.util.concurrent.Future<AutomationTestCase> createAutomationTestCaseAsync(CreateAutomationTestCaseRequest automationTestCaseRequest, AsyncHandler<CreateAutomationTestCaseRequest,AutomationTestCase> asyncHandler) throws AuthServiceException
TestDesignServiceAsyncautomation test case from the given
create automation test case requestcreateAutomationTestCaseAsync in interface TestDesignServiceAsyncautomationTestCaseRequest - the given create automation test case request
instance.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.automation test case instance.AuthServiceException - if an error occurs during creating test case instance.public void shutdown()
ApiWebServiceClientshutdown in interface QTestServiceshutdown in class QTestApiWebServiceClient<TestDesignServiceClient>