public class ProjectServiceClient extends QTestApiWebServiceClient<ProjectServiceClient> implements ProjectService
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
ProjectServiceClient()
Constructs a new client to invoke service method on ProjectService using
the default qTest credentials provider and default client configuration options.
|
ProjectServiceClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ProjectService using
the default qTest credentials provider and client configuration options.
|
ProjectServiceClient(QTestCredentials credentials)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials.
|
ProjectServiceClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials and client configuration options.
|
ProjectServiceClient(QTestCredentialsProvider credentialsProvider)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials provider and client configuration options.
|
ProjectServiceClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ProjectService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
createCustomField(CreateCustomFieldRequest createCustomFieldRequest)
Creates custom field from the given
CreateCustomFieldRequest instance. |
Module |
createModule(CreateModuleRequest createModuleRequest)
Creates module from the given
create module request
object instance. |
Project |
createProject(CreateProjectRequest createProjectRequest)
Creates project from the given
create project request |
void |
deleteModule(DeleteModuleRequest moduleRequest)
Delete module.
|
java.util.List<Field> |
getFields(GetFieldsRequest getFieldsRequest)
Gets all fields from the given field request.
|
Module |
getModule(GetModuleRequest getModuleRequest)
Gets module from the given
get module request object
instance. |
Project |
getProject(GetProjectRequest getProjectRequest)
Gets the project from the given get project request.
|
UserPermissions |
getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest)
Gets user permission.
|
java.util.List<Module> |
listModule(ListModuleRequest listModuleRequest)
Lists modules from the given
get module request object
instance. |
java.util.List<Project> |
listProject(ListProjectRequest listProjectRequest)
Lists all projects in user space.
|
java.util.List<Release> |
listRelease(ListReleaseRequest listReleaseRequest)
List all release of project
|
java.util.List<UserPermissions> |
listUserPermissions(ListUserPermissionsRequest listUserPermissionsRequest)
List all user permissions in all active projects.
|
Module |
moveModule(MoveModuleRequest moduleRequest)
Move modules request.
|
java.util.List<Module> |
searchModule(SearchModuleRequest searchModuleRequest)
Search modules.
|
java.util.List<Field> |
updateCustomField(UpdateCustomFieldRequest updateCustomFieldRequest)
Update is_active of custom field
|
Module |
updateModule(UpdateModuleRequest moduleRequest)
Update modules request.
|
Field |
updateSystemField(UpdateSystemFieldRequest updateSystemFieldRequest)
Updates system field from the given
UpdateSystemFieldRequest instance. |
init, invoke, shutdown, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, shutdownpublic ProjectServiceClient()
public ProjectServiceClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to ProjectServicepublic ProjectServiceClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public ProjectServiceClient(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 ProjectServiceClient(QTestCredentialsProvider credentialsProvider)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.public ProjectServiceClient(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 java.util.List<Project> listProject(ListProjectRequest listProjectRequest) throws AuthServiceException
ProjectServicelistProject in interface ProjectServicelistProjectRequest - the given request to listing all projects.AuthServiceException - if an error occurs during listing all projects.public Project createProject(CreateProjectRequest createProjectRequest) throws AuthServiceException
ProjectServicecreate project requestcreateProject in interface ProjectServicecreateProjectRequest - the given create project request to set.AuthServiceException - if an error occurs during creating project.public Project getProject(GetProjectRequest getProjectRequest) throws AuthServiceException
ProjectServicegetProject in interface ProjectServicegetProjectRequest - the given get project request.AuthServiceException - if an error occurs during getting project.public Module updateModule(UpdateModuleRequest moduleRequest) throws AuthServiceException
ProjectServiceupdateModule in interface ProjectServicemoduleRequest - the given update module request.AuthServiceException - if an error occurs during updating module.public Module moveModule(MoveModuleRequest moduleRequest) throws AuthServiceException
ProjectServicemoveModule in interface ProjectServicemoduleRequest - the given module request.AuthServiceException - if an error occurs during moving module.public Module createModule(CreateModuleRequest createModuleRequest) throws AuthServiceException
ProjectServicecreate module request
object instance.createModule in interface ProjectServicecreateModuleRequest - the given create module request to set.AuthServiceException - if an error occurs during creating module.public Module getModule(GetModuleRequest getModuleRequest) throws AuthServiceException
ProjectServiceget module request object
instance.getModule in interface ProjectServicegetModuleRequest - the given get module requestmodule instance.AuthServiceException - if an error occurs during getting module.public java.util.List<Module> listModule(ListModuleRequest listModuleRequest) throws AuthServiceException
ProjectServiceget module request object
instance.listModule in interface ProjectServicelistModuleRequest - the given list module requestmodules.AuthServiceException - if an error occurs during listing modules.public java.util.List<Release> listRelease(ListReleaseRequest listReleaseRequest) throws AuthServiceException
ProjectServicelistRelease in interface ProjectServicelistReleaseRequest - request to list releaseAuthServiceException - if an error occurs during listing releasepublic java.util.List<Module> searchModule(SearchModuleRequest searchModuleRequest) throws AuthServiceException
ProjectServicesearchModule in interface ProjectServicesearchModuleRequest - the given search module request.AuthServiceException - if an error occurs during searching modules.public void deleteModule(DeleteModuleRequest moduleRequest) throws AuthServiceException
ProjectServicedeleteModule in interface ProjectServicemoduleRequest - the given delete module request.AuthServiceException - if an error occurs during deleting module.public Field createCustomField(CreateCustomFieldRequest createCustomFieldRequest) throws AuthServiceException
ProjectServiceCreateCustomFieldRequest instance.createCustomField in interface ProjectServicecreateCustomFieldRequest - the given CreateCustomFieldRequest instance to set.Field instance.AuthServiceException - if an error occurs during creating custom field to project.public java.util.List<Field> updateCustomField(UpdateCustomFieldRequest updateCustomFieldRequest) throws AuthServiceException
ProjectServiceupdateCustomField in interface ProjectServiceAuthServiceExceptionpublic Field updateSystemField(UpdateSystemFieldRequest updateSystemFieldRequest) throws AuthServiceException
ProjectServiceUpdateSystemFieldRequest instance.updateSystemField in interface ProjectServiceupdateSystemFieldRequest - the given UpdateSystemFieldRequest instance to set.AuthServiceException - if an error occurs duringpublic java.util.List<Field> getFields(GetFieldsRequest getFieldsRequest) throws AuthServiceException
ProjectServicegetFields in interface ProjectServicegetFieldsRequest - the given GET fields request to get
all fields.AuthServiceException - if an error occurs during getting fields.public UserPermissions getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) throws AuthServiceException
ProjectServicegetUserPermissions in interface ProjectServicegetUserPermissionsRequest - the given GetUserPermissionsRequest instance.UserPermissions object.AuthServiceException - if an error occurs during getting user permissions.public java.util.List<UserPermissions> listUserPermissions(ListUserPermissionsRequest listUserPermissionsRequest) throws AuthServiceException
ProjectServicelistUserPermissions in interface ProjectServicelistUserPermissionsRequest - the given ListUserPermissionsRequest instance.user permission objects.AuthServiceException - if an error occurs during listing all user permissions on active projects.