public class RigorApiClient extends Object
| Constructor and Description |
|---|
RigorApiClient(String apikey) |
| Modifier and Type | Method and Description |
|---|---|
RigorApiDefectResultList |
GetCriticalDefects(Integer testID,
Integer snapshotID) |
RigorApiSnapshotResult |
GetSnapshot(Integer testID,
Integer snapshotID) |
RigorApiDefectResultList |
GetSpecificDefects(Integer testID,
Integer snapshotID,
ArrayList<Integer> defectIDs) |
protected RigorApiResponse |
makeGetRequest(String relativeURL) |
protected RigorApiResponse |
makePostRequest(String relativeURL,
String bodyToPost) |
protected RigorApiResponse |
makePutRequest(String relativeURL,
String bodyToPut) |
RigorApiSnapshotResult |
StartSnapshot(Integer testID,
String tagName) |
RigorApiResponse |
TestConnection() |
RigorApiResponse |
TestForValidTestID(Integer testID) |
RigorApiSnapshotResult |
UpdateSnapshotWithTags(Integer testID,
Integer snapshot_id,
ArrayList<RigorApiTag> tags) |
RigorApiSnapshotResult |
UpdateTestWithTags(Integer testID,
ArrayList<RigorApiTag> tags) |
public RigorApiClient(String apikey)
public RigorApiResponse TestConnection()
public RigorApiResponse TestForValidTestID(Integer testID)
public RigorApiSnapshotResult StartSnapshot(Integer testID, String tagName) throws Exception
Exceptionpublic RigorApiSnapshotResult GetSnapshot(Integer testID, Integer snapshotID) throws Exception
Exceptionpublic RigorApiSnapshotResult UpdateTestWithTags(Integer testID, ArrayList<RigorApiTag> tags) throws Exception
Exceptionpublic RigorApiSnapshotResult UpdateSnapshotWithTags(Integer testID, Integer snapshot_id, ArrayList<RigorApiTag> tags) throws Exception
Exceptionpublic RigorApiDefectResultList GetCriticalDefects(Integer testID, Integer snapshotID) throws Exception
Exceptionpublic RigorApiDefectResultList GetSpecificDefects(Integer testID, Integer snapshotID, ArrayList<Integer> defectIDs) throws Exception
Exceptionprotected RigorApiResponse makeGetRequest(String relativeURL)
protected RigorApiResponse makePostRequest(String relativeURL, String bodyToPost)
protected RigorApiResponse makePutRequest(String relativeURL, String bodyToPut)
Copyright © 2016–2019. All rights reserved.