public class DefectServiceClient extends QTestApiWebServiceClient<DefectServiceClient> implements DefectService
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
DefectServiceClient()
Constructs a new client to invoke service method on DefectService using
the default qTest credentials provider and default client configuration options.
|
DefectServiceClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on DefectService using
the default qTest credentials provider and client configuration options.
|
DefectServiceClient(QTestCredentials credentials)
Constructs a new client to invoke service method on DefectService using
the specified qTest credentials.
|
DefectServiceClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on DefectService using
the specified qTest credentials and client configuration options.
|
DefectServiceClient(QTestCredentialsProvider credentialsProvider)
Constructs a new client to invoke service method on DefectService using
the specified qTest credentials provider and client configuration options.
|
DefectServiceClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on DefectService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
Defect |
addComment(CreateObjectCommentRequest createObjectCommentRequest)
Creates defect comment from the given request.
|
Defect |
createDefect(CreateDefectRequest createDefectRequest)
Creates defect from the given
CreateDefectRequest 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 DefectServiceClient()
public DefectServiceClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to DefectServicepublic DefectServiceClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public DefectServiceClient(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 DefectServicepublic DefectServiceClient(QTestCredentialsProvider credentialsProvider)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.public DefectServiceClient(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 DefectServicepublic Defect createDefect(CreateDefectRequest createDefectRequest) throws AuthServiceException
DefectServiceCreateDefectRequest instance.createDefect in interface DefectServicecreateDefectRequest - the given CreateDefectRequest instance.Defect instance.AuthServiceException - if an error occurs during creating request.public Defect addComment(CreateObjectCommentRequest createObjectCommentRequest) throws AuthServiceException
DefectServiceaddComment in interface DefectServicecreateObjectCommentRequest - the given CreateObjectCommentRequest instance.Defect instance.AuthServiceException - if an error occurs during creating defect comment.