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
Exception
public RigorApiSnapshotResult GetSnapshot(Integer testID, Integer snapshotID) throws Exception
Exception
public RigorApiSnapshotResult UpdateTestWithTags(Integer testID, ArrayList<RigorApiTag> tags) throws Exception
Exception
public RigorApiSnapshotResult UpdateSnapshotWithTags(Integer testID, Integer snapshot_id, ArrayList<RigorApiTag> tags) throws Exception
Exception
public RigorApiDefectResultList GetCriticalDefects(Integer testID, Integer snapshotID) throws Exception
Exception
public RigorApiDefectResultList GetSpecificDefects(Integer testID, Integer snapshotID, ArrayList<Integer> defectIDs) throws Exception
Exception
protected RigorApiResponse makeGetRequest(String relativeURL)
protected RigorApiResponse makePostRequest(String relativeURL, String bodyToPost)
protected RigorApiResponse makePutRequest(String relativeURL, String bodyToPut)
Copyright © 2016–2019. All rights reserved.