org.qas.qtest.api.services.defect.DefectService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtest-sdk-java Show documentation
Show all versions of qtest-sdk-java Show documentation
A java SDK client wrap qTest REST API
The newest version!
package org.qas.qtest.api.services.defect;
import org.qas.api.AuthServiceException;
import org.qas.qtest.api.internal.QTestService;
import org.qas.qtest.api.internal.model.CreateObjectCommentRequest;
import org.qas.qtest.api.services.defect.model.CreateDefectRequest;
import org.qas.qtest.api.services.defect.model.Defect;
/**
* DefectService
*
* @author Dzung Nguyen
* @version $Id DefectService 2014-07-16 14:33:30z dungvnguyen $
* @since 1.0
*/
public interface DefectService extends QTestService {
/**
* Creates defect from the given {@link CreateDefectRequest} instance.
*
* @param createDefectRequest the given {@link CreateDefectRequest} instance.
* @return the {@link Defect} instance.
* @throws AuthServiceException if an error occurs during creating request.
*/
Defect createDefect(CreateDefectRequest createDefectRequest) throws AuthServiceException;
/**
* Creates defect comment from the given request.
*
* @param createObjectCommentRequest the given {@link CreateObjectCommentRequest} instance.
* @return the {@link Defect} instance.
* @throws AuthServiceException if an error occurs during creating defect comment.
*/
Defect addComment(CreateObjectCommentRequest createObjectCommentRequest) throws AuthServiceException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy