Class PreventTooManyIgnoredTestsSuggestion
- java.lang.Object
-
- jetbrains.buildServer.serverSide.healthStatus.HealthStatusReport
-
- jetbrains.buildServer.web.openapi.healthStatus.suggestions.BuildTypeSuggestion
-
- jetbrains.buildServer.buildFailures.suggestions.PreventTooManyIgnoredTestsSuggestion
-
- All Implemented Interfaces:
ServerExtension
,TeamCityExtension
public class PreventTooManyIgnoredTestsSuggestion extends BuildTypeSuggestion
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PASSED_TESTS_PERCENT
static int
DEFAULT_TOTAL_TESTS_THRESHOLD
-
Constructor Summary
Constructors Constructor Description PreventTooManyIgnoredTestsSuggestion(PagePlaces pagePlaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BuildTypeSuggestedItem>
getSuggestions(SBuildType buildType)
Returns suggestions for provided build type.String
getViewUrl()
-
Methods inherited from class jetbrains.buildServer.web.openapi.healthStatus.suggestions.BuildTypeSuggestion
canReportItemsFor, filterBuildTypes, getCategories, getDisplayName, getType, report
-
Methods inherited from class jetbrains.buildServer.serverSide.healthStatus.HealthStatusReport
equals, hashCode
-
-
-
-
Field Detail
-
DEFAULT_TOTAL_TESTS_THRESHOLD
public static final int DEFAULT_TOTAL_TESTS_THRESHOLD
- See Also:
- Constant Field Values
-
DEFAULT_PASSED_TESTS_PERCENT
public static final int DEFAULT_PASSED_TESTS_PERCENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PreventTooManyIgnoredTestsSuggestion
public PreventTooManyIgnoredTestsSuggestion(@NotNull PagePlaces pagePlaces)
-
-
Method Detail
-
getSuggestions
@NotNull public List<BuildTypeSuggestedItem> getSuggestions(@NotNull SBuildType buildType)
Description copied from class:BuildTypeSuggestion
Returns suggestions for provided build type.- Specified by:
getSuggestions
in classBuildTypeSuggestion
- Parameters:
buildType
- build type to provide suggestions for- Returns:
- list of suggestions
-
getViewUrl
@NotNull public String getViewUrl()
- Specified by:
getViewUrl
in classBuildTypeSuggestion
- Returns:
- url to page or jsp which will render build type suggestion.
-
-