public interface DefectServiceAsync extends DefectService
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<Defect> |
addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest)
Creates defect comment from the given request.
|
java.util.concurrent.Future<Defect> |
addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest,
AsyncHandler<CreateObjectCommentRequest,Defect> asyncHandler)
Creates defect comment from the given request.
|
java.util.concurrent.Future<Defect> |
createDefectAsync(CreateDefectRequest createDefectRequest)
Creates defect from the given
CreateDefectRequest instance. |
java.util.concurrent.Future<Defect> |
createDefectAsync(CreateDefectRequest createDefectRequest,
AsyncHandler<CreateDefectRequest,Defect> asyncHandler)
Creates defect from the given
CreateDefectRequest instance. |
addComment, createDefectsetEndpoint, shutdownjava.util.concurrent.Future<Defect> createDefectAsync(CreateDefectRequest createDefectRequest) throws AuthServiceException
CreateDefectRequest instance.createDefectRequest - the given CreateDefectRequest instance.Defect instance.AuthServiceException - if an error occurs during creating request.java.util.concurrent.Future<Defect> createDefectAsync(CreateDefectRequest createDefectRequest, AsyncHandler<CreateDefectRequest,Defect> asyncHandler) throws AuthServiceException
CreateDefectRequest instance.createDefectRequest - the given CreateDefectRequest 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.Defect instance.AuthServiceException - if an error occurs during creating request.java.util.concurrent.Future<Defect> addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest) throws AuthServiceException
createObjectCommentRequest - the given CreateObjectCommentRequest instance.Defect instance.AuthServiceException - if an error occurs during creating defect comment.java.util.concurrent.Future<Defect> addCommentAsync(CreateObjectCommentRequest createObjectCommentRequest, AsyncHandler<CreateObjectCommentRequest,Defect> asyncHandler) throws AuthServiceException
createObjectCommentRequest - the given CreateObjectCommentRequest 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.Defect instance.AuthServiceException - if an error occurs during creating defect comment.