Class CircularStabilityHistory
java.lang.Object
de.esailors.jenkins.teststability.CircularStabilityHistory
Circular history of test results.
Old records are dropped when maxSize
is exceeded.
- Author:
- ckutz
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int buildNumber, boolean passed) boolean
add
(de.esailors.jenkins.teststability.StabilityTestData.Result value) void
addAll
(de.esailors.jenkins.teststability.StabilityTestData.Result[] results) de.esailors.jenkins.teststability.StabilityTestData.Result[]
getData()
int
boolean
boolean
isEmpty()
-
Constructor Details
-
CircularStabilityHistory
public CircularStabilityHistory(int maxSize)
-
-
Method Details
-
add
public boolean add(de.esailors.jenkins.teststability.StabilityTestData.Result value) -
getData
public de.esailors.jenkins.teststability.StabilityTestData.Result[] getData() -
isEmpty
public boolean isEmpty() -
getMaxSize
public int getMaxSize() -
addAll
public void addAll(de.esailors.jenkins.teststability.StabilityTestData.Result[] results) -
add
public void add(int buildNumber, boolean passed) -
isAllPassed
public boolean isAllPassed()
-