public class RigorApiHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected RigorApiClient |
apiClient |
protected Integer |
buildNumber |
protected PrintStream |
logger |
protected String |
projectAndBuild |
protected String |
projectName |
protected BuilderSettings |
settings |
Constructor and Description |
---|
RigorApiHelper(String apiKey,
BuilderSettings settings,
PrintStream logger,
Integer buildNumber,
String projectName) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBuildFailTag(ArrayList<RigorApiTag> buildFailTags,
String msg) |
protected boolean |
analyzeFoundDefects(RigorApiSnapshotResult snapshot,
ArrayList<RigorApiTag> buildFailTags) |
protected boolean |
analyzeResults(ArrayList<RigorApiSnapshotResult> snapshotsCompleted) |
protected void |
checkForBadTestIDs(ArrayList<Integer> testIDs) |
protected void |
logCriticalDefects(RigorApiSnapshotResult snapshot) |
protected void |
logDefect(int defectNumber,
RigorApiDefectResult defect) |
protected boolean |
passOrFailForSnapshotError() |
Boolean |
RunBuildTests() |
protected ArrayList<RigorApiSnapshotResult> |
startSnapshots() |
void |
TestApiConnection(String testIDs) |
protected ArrayList<RigorApiSnapshotResult> |
waitForSnapshotsComplete(ArrayList<RigorApiSnapshotResult> snapshotsStarted) |
protected RigorApiClient apiClient
protected BuilderSettings settings
protected PrintStream logger
protected Integer buildNumber
protected String projectName
protected String projectAndBuild
public RigorApiHelper(String apiKey, BuilderSettings settings, PrintStream logger, Integer buildNumber, String projectName)
protected void checkForBadTestIDs(ArrayList<Integer> testIDs) throws Exception
Exception
public Boolean RunBuildTests()
protected ArrayList<RigorApiSnapshotResult> startSnapshots() throws Exception
Exception
protected ArrayList<RigorApiSnapshotResult> waitForSnapshotsComplete(ArrayList<RigorApiSnapshotResult> snapshotsStarted) throws Exception
Exception
protected boolean analyzeResults(ArrayList<RigorApiSnapshotResult> snapshotsCompleted) throws Exception
Exception
protected void addBuildFailTag(ArrayList<RigorApiTag> buildFailTags, String msg)
protected void logCriticalDefects(RigorApiSnapshotResult snapshot)
protected boolean analyzeFoundDefects(RigorApiSnapshotResult snapshot, ArrayList<RigorApiTag> buildFailTags) throws Exception
Exception
protected void logDefect(int defectNumber, RigorApiDefectResult defect)
protected boolean passOrFailForSnapshotError()
Copyright © 2016–2019. All rights reserved.