public class UserServiceAsyncClient extends UserServiceClient implements UserServiceAsync
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
UserServiceAsyncClient()
Constructs a new client to invoke service method on UserService using
the default qTest credentials provider and default client configuration options.
|
UserServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on UserService using
the default qTest credentials provider and client configuration options.
|
UserServiceAsyncClient(ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on UserService using
the default qTest credentials provider and client configuration options.
|
UserServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on UserService using
the default qTest credentials provider and default client configuration options.
|
UserServiceAsyncClient(QTestCredentials credentials)
Constructs a new client to invoke service method on UserService using
the specified qTest credentials.
|
UserServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on UserService using
the specified qTest credentials and client configuration options.
|
UserServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on UserService using
the specified qTest credentials and client configuration options.
|
UserServiceAsyncClient(QTestCredentials credentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on UserService using
the specified qTest credentials.
|
UserServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on UserService using
the specified qTest credentials provider and client configuration options.
|
UserServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on UserService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<AssignToProjectResult> |
assignToProjectAsync(AssignToProjectRequest assignToProjectRequest)
Assign user to project from the request.
|
java.util.concurrent.Future<AssignToProjectResult> |
assignToProjectAsync(AssignToProjectRequest assignToProjectRequest,
AsyncHandler<AssignToProjectRequest,AssignToProjectResult> asyncHandler)
Assign user to project from the request.
|
java.util.concurrent.Future<User> |
createAsync(CreateUserRequest createUserRequest)
Creates user information from the given create user request.
|
java.util.concurrent.Future<User> |
createAsync(CreateUserRequest createUserRequest,
AsyncHandler<CreateUserRequest,User> asyncHandler)
Creates user information from the given create user request.
|
assignToProject, create, listUserinit, invoke, shutdown, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassignToProject, create, listUsersetEndpoint, shutdownpublic UserServiceAsyncClient()
public UserServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
executorService - the executor service for executing asynchronous request.public UserServiceAsyncClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to UserServicepublic UserServiceAsyncClient(ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
clientConfiguration - The client configuration options controlling how this
client connects to UserService.executorService - the executor service for executing asynchronous request.public UserServiceAsyncClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public UserServiceAsyncClient(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 UserServiceAsyncClient(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 UserServicepublic UserServiceAsyncClient(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 UserServiceexecutorService - the executor service for executing asynchronous request.public UserServiceAsyncClient(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 UserServicepublic UserServiceAsyncClient(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 UserServiceexecutorService - the executor service for executing asynchronous request.public java.util.concurrent.Future<User> createAsync(CreateUserRequest createUserRequest) throws AuthServiceException
UserServiceAsynccreateAsync in interface UserServiceAsynccreateUserRequest - the given user request to perform create action.AuthServiceException - if an error occurs during create user information.public java.util.concurrent.Future<User> createAsync(CreateUserRequest createUserRequest, AsyncHandler<CreateUserRequest,User> asyncHandler) throws AuthServiceException
UserServiceAsynccreateAsync in interface UserServiceAsynccreateUserRequest - the given user request to perform create action.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 create user information.public java.util.concurrent.Future<AssignToProjectResult> assignToProjectAsync(AssignToProjectRequest assignToProjectRequest) throws AuthServiceException
UserServiceAsyncassignToProjectAsync in interface UserServiceAsyncassignToProjectRequest - the given assign to project request.AuthServiceException - if an error occurs during assigning user to project.public java.util.concurrent.Future<AssignToProjectResult> assignToProjectAsync(AssignToProjectRequest assignToProjectRequest, AsyncHandler<AssignToProjectRequest,AssignToProjectResult> asyncHandler) throws AuthServiceException
UserServiceAsyncassignToProjectAsync in interface UserServiceAsyncassignToProjectRequest - the given assign to project 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 assigning user to project.