|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.serverSide.BuildStatisticsOptions
public class BuildStatisticsOptions
| Field Summary | |
|---|---|
static int |
COMPILATION_ERRORS
|
static int |
FIRST_FAILED_IN_BUILD
|
static int |
FIXED_IN_BUILD
|
static int |
IGNORED_TESTS
|
static int |
PASSED_TESTS
|
| Constructor Summary | |
|---|---|
BuildStatisticsOptions()
Default constructor. |
|
BuildStatisticsOptions(int optionsMask,
int maxNumberOfTestsStacktracesToLoad)
This constructor allows to specify exact options to be used |
|
| Method Summary | |
|---|---|
boolean |
containsOptions(BuildStatisticsOptions otherOptions)
|
static BuildStatisticsOptions |
createOptions(boolean loadFixedInData,
boolean needCompilationErrors,
int maxStacktraces)
Deprecated. since 6.0, please use constructor with bit mask |
boolean |
equals(java.lang.Object o)
|
int |
getMaxNumberOfTestsStacktracesToLoad()
Returns maximum number of tests for which to load stacktraces, if -1 - all stacktraces will be loaded |
int |
hashCode()
|
boolean |
isLoadCompilationErrors()
Whether to load compilation errors |
boolean |
isLoadFirstFailedIn()
|
boolean |
isLoadFixedIn()
|
boolean |
isLoadIgnoredTests()
|
boolean |
isLoadPassedTests()
|
void |
setLoadCompilationErrors(boolean loadCompilationErrors)
Sets whether to load compilation errors (true by default) |
void |
setLoadFirstFailedIn(boolean loadFirstFailedIn)
|
void |
setLoadFixedIn(boolean loadFixedIn)
|
void |
setMaxNumberOfTestsStacktracesToLoad(int maxNumberOfTestsStacktracesToLoad)
Sets maximum number of tests stacktraces to load, set to -1 to load all stacktraces. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int COMPILATION_ERRORS
public static final int FIRST_FAILED_IN_BUILD
public static final int FIXED_IN_BUILD
public static final int PASSED_TESTS
public static final int IGNORED_TESTS
| Constructor Detail |
|---|
public BuildStatisticsOptions()
BuildStatisticsOptions(int, int)
public BuildStatisticsOptions(int optionsMask,
int maxNumberOfTestsStacktracesToLoad)
optionsMask - this is a bit-wise mask of options, like COMPILATION_ERRORS | PASSED_TESTSmaxNumberOfTestsStacktracesToLoad - max number of stacktraces to load, -1 to load all| Method Detail |
|---|
public static BuildStatisticsOptions createOptions(boolean loadFixedInData,
boolean needCompilationErrors,
int maxStacktraces)
loadFixedInData - true if "already fixed in" data should be preloaded for failed testsneedCompilationErrors - whether to load compilation errorsmaxStacktraces - maximum number of tests stacktraces to load, set to -1 to load all stacktraces.
public void setMaxNumberOfTestsStacktracesToLoad(int maxNumberOfTestsStacktracesToLoad)
maxNumberOfTestsStacktracesToLoad - max number of stacktraces to loadpublic void setLoadCompilationErrors(boolean loadCompilationErrors)
loadCompilationErrors - compilation errors to loadpublic boolean isLoadCompilationErrors()
public int getMaxNumberOfTestsStacktracesToLoad()
public void setLoadFirstFailedIn(boolean loadFirstFailedIn)
loadFirstFailedIn - true if "first failed in" data should be preloaded for failed testspublic void setLoadFixedIn(boolean loadFixedIn)
loadFixedIn - true if "already fixed in" data should be preloaded for failed testspublic boolean isLoadFirstFailedIn()
public boolean isLoadFixedIn()
public boolean isLoadPassedTests()
public boolean isLoadIgnoredTests()
public boolean containsOptions(BuildStatisticsOptions otherOptions)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||