|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpiryCriteria
A criteria class to be used for selecting result summaries
for build expiry.
Method Summary | |
---|---|
Set<String> |
getLabelsToExclude()
A set of labellings to exclude from the search (so to avoid expiring build results with certain labels). |
org.joda.time.DateTime |
getMaxBuildCompletedDate()
A criterion for result summaries completion date - will cause to fetch only results completed before the date. |
Integer |
getMaxBuildNumber()
A criterion for result summaries that will cause to fetch only results with smaller than or equal build number. |
Long |
getMaxIgnoredLogSize()
A threshold for result summaries ImmutableResultsSummary.getLogSize() - the log size must be either
unknown or greater than the given value. |
int |
getMaxResults()
Number of results to return. |
PlanKey |
getPlanKey()
A plan key by which the result summaries should be filtered. |
Class<? extends ResultsSummary> |
getResultsSummaryClass()
The actual class of returned result summaries (eg. |
boolean |
isRequireArtifactLinks()
A filter for result summaries that requires them to have a directly or indirectly linked artifact (eg. |
Method Detail |
---|
@NotNull PlanKey getPlanKey()
result summaries
should be filtered.
@NotNull Class<? extends ResultsSummary> getResultsSummaryClass()
ChainResultsSummary
or BuildResultsSummary
).
boolean isRequireArtifactLinks()
getMaxIgnoredLogSize()
criterion are a disjunction (either of the
conditions must be met).
@Nullable Long getMaxIgnoredLogSize()
ImmutableResultsSummary.getLogSize()
- the log size must be either
unknown or greater than the given value.
Note that this search criterion and isRequireArtifactLinks()
criterion are a disjunction (either of the
conditions must be met).
@Nullable Integer getMaxBuildNumber()
@Nullable org.joda.time.DateTime getMaxBuildCompletedDate()
@NotNull Set<String> getLabelsToExclude()
int getMaxResults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |