public class ProjectServiceAsyncClient extends ProjectServiceClient implements ProjectServiceAsync
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
ProjectServiceAsyncClient()
Constructs a new client to invoke service method on ProjectService using
the default qTest credentials provider and default client configuration options.
|
ProjectServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ProjectService using
the default qTest credentials provider and client configuration options.
|
ProjectServiceAsyncClient(ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ProjectService using
the default qTest credentials provider and client configuration options.
|
ProjectServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ProjectService using
the default qTest credentials provider and default client configuration options.
|
ProjectServiceAsyncClient(QTestCredentials credentials)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials.
|
ProjectServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials and client configuration options.
|
ProjectServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials and client configuration options.
|
ProjectServiceAsyncClient(QTestCredentials credentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials.
|
ProjectServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ProjectServiceAsync using
the specified qTest credentials provider and client configuration options.
|
ProjectServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ProjectServiceAsync using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<Field> |
createCustomFieldAsync(CreateCustomFieldRequest createCustomFieldRequest)
Creates custom field from the given
CreateCustomFieldRequest instance. |
java.util.concurrent.Future<Field> |
createCustomFieldAsync(CreateCustomFieldRequest createCustomFieldRequest,
AsyncHandler<CreateCustomFieldRequest,Field> asyncHandler)
Creates custom field from the given
CreateCustomFieldRequest instance. |
java.util.concurrent.Future<Module> |
createModuleAsync(CreateModuleRequest createModuleRequest)
Creates module from the given
create module request
object instance. |
java.util.concurrent.Future<Module> |
createModuleAsync(CreateModuleRequest createModuleRequest,
AsyncHandler<CreateModuleRequest,Module> asyncHandler)
Creates module from the given
create module request
object instance. |
java.util.concurrent.Future<Project> |
createProjectAsync(CreateProjectRequest createProjectRequest)
Creates project in user space.
|
java.util.concurrent.Future<Project> |
createProjectAsync(CreateProjectRequest createProjectRequest,
AsyncHandler<CreateProjectRequest,Project> asyncHandler)
Creates project in user space.
|
java.util.concurrent.Future<java.util.List<Field>> |
getFieldsAsync(GetFieldsRequest getFieldsRequest)
Gets all fields from the given field request.
|
java.util.concurrent.Future<java.util.List<Field>> |
getFieldsAsync(GetFieldsRequest getFieldsRequest,
AsyncHandler<GetFieldsRequest,java.util.List<Field>> asyncHandler)
Gets all fields from the given field request.
|
java.util.concurrent.Future<Module> |
getModuleAsync(GetModuleRequest getModuleRequest)
Gets module from the given
get module request object
instance. |
java.util.concurrent.Future<Module> |
getModuleAsync(GetModuleRequest getModuleRequest,
AsyncHandler<GetModuleRequest,Module> asyncHandler)
Gets module from the given
get module request object
instance. |
java.util.concurrent.Future<UserPermissions> |
getUserPermissionsAsync(GetUserPermissionsRequest getUserPermissionsRequest)
Gets user permission.
|
java.util.concurrent.Future<UserPermissions> |
getUserPermissionsAsync(GetUserPermissionsRequest getUserPermissionsRequest,
AsyncHandler<GetUserPermissionsRequest,UserPermissions> asyncHandler)
Gets user permission.
|
java.util.concurrent.Future<java.util.List<Module>> |
listModuleAsync(ListModuleRequest listModuleRequest)
Lists modules from the given
get module request object
instance. |
java.util.concurrent.Future<java.util.List<Module>> |
listModuleAsync(ListModuleRequest listModuleRequest,
AsyncHandler<ListModuleRequest,java.util.List<Module>> asyncHandler)
Lists modules from the given
get module request object
instance. |
java.util.concurrent.Future<java.util.List<Project>> |
listProjectAsync(ListProjectRequest listProjectRequest)
Lists all projects in user space.
|
java.util.concurrent.Future<java.util.List<Project>> |
listProjectAsync(ListProjectRequest listProjectRequest,
AsyncHandler<ListProjectRequest,java.util.List<Project>> asyncHandler)
Lists all projects in user space.
|
java.util.concurrent.Future<java.util.List<UserPermissions>> |
listUserPermissionsAsync(ListUserPermissionsRequest listUserPermissionsRequest)
List user permissions.
|
java.util.concurrent.Future<java.util.List<UserPermissions>> |
listUserPermissionsAsync(ListUserPermissionsRequest listUserPermissionsRequest,
AsyncHandler<ListUserPermissionsRequest,java.util.List<UserPermissions>> asyncHandler)
Lists user permissions.
|
java.util.concurrent.Future<Field> |
updateSystemFieldAsync(UpdateSystemFieldRequest updateSystemFieldRequest)
Updates system field from the given
UpdateSystemFieldRequest instance. |
java.util.concurrent.Future<Field> |
updateSystemFieldAsync(UpdateSystemFieldRequest updateSystemFieldRequest,
AsyncHandler<UpdateSystemFieldRequest,Field> asyncHandler)
Updates system field from the given
UpdateSystemFieldRequest instance. |
createCustomField, createModule, createProject, deleteModule, getFields, getModule, getProject, getUserPermissions, listModule, listProject, listRelease, listUserPermissions, moveModule, searchModule, updateCustomField, updateModule, updateSystemFieldinit, invoke, shutdown, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCustomField, createModule, createProject, deleteModule, getFields, getModule, getProject, getUserPermissions, listModule, listProject, listRelease, listUserPermissions, moveModule, searchModule, updateCustomField, updateModule, updateSystemFieldsetEndpoint, shutdownpublic ProjectServiceAsyncClient()
public ProjectServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
executorService - the executor service for executing asynchronous request.public ProjectServiceAsyncClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to ProjectServicepublic ProjectServiceAsyncClient(ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
clientConfiguration - The client configuration options controlling how this
client connects to ProjectService.executorService - the executor service for executing asynchronous request.public ProjectServiceAsyncClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public ProjectServiceAsyncClient(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 ProjectServiceAsyncClient(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 ProjectServicepublic ProjectServiceAsyncClient(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 ProjectServiceexecutorService - the executor service for executing asynchronous request.public ProjectServiceAsyncClient(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 ProjectServicepublic ProjectServiceAsyncClient(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 ProjectServiceexecutorService - the executor service for executing asynchronous request.public java.util.concurrent.Future<java.util.List<Project>> listProjectAsync(ListProjectRequest listProjectRequest) throws AuthServiceException
ProjectServiceAsynclistProjectAsync in interface ProjectServiceAsynclistProjectRequest - the given request to get projects.Project information.AuthServiceException - if an error occurs during getting project.public java.util.concurrent.Future<java.util.List<Project>> listProjectAsync(ListProjectRequest listProjectRequest, AsyncHandler<ListProjectRequest,java.util.List<Project>> asyncHandler) throws AuthServiceException
ProjectServiceAsynclistProjectAsync in interface ProjectServiceAsynclistProjectRequest - the given request to get projects.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.Project information.AuthServiceException - if an error occurs during getting project.public java.util.concurrent.Future<Project> createProjectAsync(CreateProjectRequest createProjectRequest) throws AuthServiceException
ProjectServiceAsynccreateProjectAsync in interface ProjectServiceAsynccreateProjectRequest - the given create project request.AuthServiceException - if an error occurs during creating project.public java.util.concurrent.Future<Project> createProjectAsync(CreateProjectRequest createProjectRequest, AsyncHandler<CreateProjectRequest,Project> asyncHandler) throws AuthServiceException
ProjectServiceAsynccreateProjectAsync in interface ProjectServiceAsynccreateProjectRequest - the given create 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 creating project.public java.util.concurrent.Future<Module> createModuleAsync(CreateModuleRequest createModuleRequest) throws AuthServiceException
ProjectServiceAsynccreate module request
object instance.createModuleAsync in interface ProjectServiceAsynccreateModuleRequest - the given create module request to set.AuthServiceException - if an error occurs during creating module.public java.util.concurrent.Future<Module> createModuleAsync(CreateModuleRequest createModuleRequest, AsyncHandler<CreateModuleRequest,Module> asyncHandler) throws AuthServiceException
ProjectServiceAsynccreate module request
object instance.createModuleAsync in interface ProjectServiceAsynccreateModuleRequest - the given create module request to set.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 creating module.public java.util.concurrent.Future<Module> getModuleAsync(GetModuleRequest getModuleRequest) throws AuthServiceException
ProjectServiceAsyncget module request object
instance.getModuleAsync in interface ProjectServiceAsyncgetModuleRequest - the given get module requestmodule instance.AuthServiceException - if an error occurs during getting module.public java.util.concurrent.Future<Module> getModuleAsync(GetModuleRequest getModuleRequest, AsyncHandler<GetModuleRequest,Module> asyncHandler) throws AuthServiceException
ProjectServiceAsyncget module request object
instance.getModuleAsync in interface ProjectServiceAsyncgetModuleRequest - the given get module 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.module instance.AuthServiceException - if an error occurs during getting module.public java.util.concurrent.Future<java.util.List<Module>> listModuleAsync(ListModuleRequest listModuleRequest) throws AuthServiceException
ProjectServiceAsyncget module request object
instance.listModuleAsync in interface ProjectServiceAsynclistModuleRequest - the given list module requestmodules.AuthServiceException - if an error occurs during listing modules.public java.util.concurrent.Future<java.util.List<Module>> listModuleAsync(ListModuleRequest listModuleRequest, AsyncHandler<ListModuleRequest,java.util.List<Module>> asyncHandler) throws AuthServiceException
ProjectServiceAsyncget module request object
instance.listModuleAsync in interface ProjectServiceAsynclistModuleRequest - the given list module 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.modules.AuthServiceException - if an error occurs during listing modules.public java.util.concurrent.Future<Field> createCustomFieldAsync(CreateCustomFieldRequest createCustomFieldRequest) throws AuthServiceException
ProjectServiceAsyncCreateCustomFieldRequest instance.createCustomFieldAsync in interface ProjectServiceAsynccreateCustomFieldRequest - the given CreateCustomFieldRequest instance to set.Field instance.AuthServiceException - if an error occurs during creating custom field to project.public java.util.concurrent.Future<Field> createCustomFieldAsync(CreateCustomFieldRequest createCustomFieldRequest, AsyncHandler<CreateCustomFieldRequest,Field> asyncHandler) throws AuthServiceException
ProjectServiceAsyncCreateCustomFieldRequest instance.createCustomFieldAsync in interface ProjectServiceAsynccreateCustomFieldRequest - the given CreateCustomFieldRequest instance to set.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.Field instance.AuthServiceException - if an error occurs during creating custom field to project.public java.util.concurrent.Future<Field> updateSystemFieldAsync(UpdateSystemFieldRequest updateSystemFieldRequest) throws AuthServiceException
ProjectServiceAsyncUpdateSystemFieldRequest instance.updateSystemFieldAsync in interface ProjectServiceAsyncupdateSystemFieldRequest - the given UpdateSystemFieldRequest instance to set.AuthServiceException - if an error occurs duringpublic java.util.concurrent.Future<Field> updateSystemFieldAsync(UpdateSystemFieldRequest updateSystemFieldRequest, AsyncHandler<UpdateSystemFieldRequest,Field> asyncHandler) throws AuthServiceException
ProjectServiceAsyncUpdateSystemFieldRequest instance.updateSystemFieldAsync in interface ProjectServiceAsyncupdateSystemFieldRequest - the given UpdateSystemFieldRequest instance to set.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 duringpublic java.util.concurrent.Future<java.util.List<Field>> getFieldsAsync(GetFieldsRequest getFieldsRequest) throws AuthServiceException
ProjectServiceAsyncgetFieldsAsync in interface ProjectServiceAsyncgetFieldsRequest - the given GET fields request to get
all fields.AuthServiceException - if an error occurs during getting fields.public java.util.concurrent.Future<java.util.List<Field>> getFieldsAsync(GetFieldsRequest getFieldsRequest, AsyncHandler<GetFieldsRequest,java.util.List<Field>> asyncHandler) throws AuthServiceException
ProjectServiceAsyncgetFieldsAsync in interface ProjectServiceAsyncgetFieldsRequest - the given GET fields request to get
all fields.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 fields.public java.util.concurrent.Future<UserPermissions> getUserPermissionsAsync(GetUserPermissionsRequest getUserPermissionsRequest) throws AuthServiceException
ProjectServiceAsyncgetUserPermissionsAsync in interface ProjectServiceAsyncgetUserPermissionsRequest - the given GetUserPermissionsRequest instance.UserPermissions object.AuthServiceException - if an error occurs during getting user permissions.public java.util.concurrent.Future<UserPermissions> getUserPermissionsAsync(GetUserPermissionsRequest getUserPermissionsRequest, AsyncHandler<GetUserPermissionsRequest,UserPermissions> asyncHandler) throws AuthServiceException
ProjectServiceAsyncgetUserPermissionsAsync in interface ProjectServiceAsyncgetUserPermissionsRequest - the given GetUserPermissionsRequest 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.UserPermissions object.AuthServiceException - if an error occurs during getting user permissions.public java.util.concurrent.Future<java.util.List<UserPermissions>> listUserPermissionsAsync(ListUserPermissionsRequest listUserPermissionsRequest) throws AuthServiceException
ProjectServiceAsynclistUserPermissionsAsync in interface ProjectServiceAsynclistUserPermissionsRequest - the given ListUserPermissionsRequest instance.UserPermissions objects.AuthServiceException - if an error occurs during getting user permissions.public java.util.concurrent.Future<java.util.List<UserPermissions>> listUserPermissionsAsync(ListUserPermissionsRequest listUserPermissionsRequest, AsyncHandler<ListUserPermissionsRequest,java.util.List<UserPermissions>> asyncHandler) throws AuthServiceException
ProjectServiceAsynclistUserPermissionsAsync in interface ProjectServiceAsynclistUserPermissionsRequest - the given ListUserPermissionsRequest 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.UserPermissions objects.AuthServiceException - if an error occurs during getting user permissions.