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 intDEFAULT_PASSED_TESTS_PERCENTstatic intDEFAULT_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.StringgetViewUrl()-
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:BuildTypeSuggestionReturns suggestions for provided build type.- Specified by:
getSuggestionsin classBuildTypeSuggestion- Parameters:
buildType- build type to provide suggestions for- Returns:
- list of suggestions
-
getViewUrl
@NotNull public String getViewUrl()
- Specified by:
getViewUrlin classBuildTypeSuggestion- Returns:
- url to page or jsp which will render build type suggestion.
-
-