Class InvalidVcsTriggerSettingsReport
- java.lang.Object
 - 
- jetbrains.buildServer.serverSide.healthStatus.HealthStatusReport
 - 
- jetbrains.buildServer.serverSide.healthStatus.reports.BuildTypeSettingsReport
 - 
- jetbrains.buildServer.serverSide.healthStatus.reports.BuildTriggerSettingsReport
 - 
- jetbrains.buildServer.serverSide.healthStatus.reports.InvalidVcsTriggerSettingsReport
 
 
 
 
 
- 
- All Implemented Interfaces:
 ServerExtension,TeamCityExtension
public class InvalidVcsTriggerSettingsReport extends BuildTriggerSettingsReport
 
- 
- 
Constructor Summary
Constructors Constructor Description InvalidVcsTriggerSettingsReport(WebLinks webLinks) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanReportItemsFor(HealthStatusScope scope)Check whether the report can produce any items accepted by the specified scope.Collection<ItemCategory>getCategories()Problems categories producing by this problem finder.StringgetDisplayName()User presentable name of the problem finder.protected StringgetTriggerName()Name of inspected trigger.StringgetType()protected voidreportTriggerProblems(BuildTriggerDescriptor trigger, SBuildType buildType, HealthStatusItemConsumer resultConsumer)- 
Methods inherited from class jetbrains.buildServer.serverSide.healthStatus.reports.BuildTriggerSettingsReport
reportProblems 
- 
Methods inherited from class jetbrains.buildServer.serverSide.healthStatus.reports.BuildTypeSettingsReport
report 
- 
Methods inherited from class jetbrains.buildServer.serverSide.healthStatus.HealthStatusReport
equals, hashCode 
 - 
 
 - 
 
- 
- 
Field Detail
- 
TYPE
public static final String TYPE
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
InvalidVcsTriggerSettingsReport
public InvalidVcsTriggerSettingsReport(WebLinks webLinks)
 
 - 
 
- 
Method Detail
- 
getType
@NotNull public String getType()
- Specified by:
 getTypein classHealthStatusReport- Returns:
 - unique identifier of the problem finder
 
 
- 
getDisplayName
@NotNull public String getDisplayName()
Description copied from class:HealthStatusReportUser presentable name of the problem finder.- Specified by:
 getDisplayNamein classHealthStatusReport- Returns:
 - name of the problem finder to show in the user interface.
 
 
- 
getCategories
@NotNull public Collection<ItemCategory> getCategories()
Description copied from class:HealthStatusReportProblems categories producing by this problem finder. All problems of 'undeclared' categories will be filtered even if they were consumed.- Specified by:
 getCategoriesin classHealthStatusReport- Returns:
 - Unmodifiable not-empty collection of unique categories producing by this problem finder.
 
 
- 
getTriggerName
protected String getTriggerName()
Description copied from class:BuildTriggerSettingsReportName of inspected trigger.- Specified by:
 getTriggerNamein classBuildTriggerSettingsReport
 
- 
canReportItemsFor
public boolean canReportItemsFor(HealthStatusScope scope)
Description copied from class:HealthStatusReportCheck whether the report can produce any items accepted by the specified scope.HealthStatusReport.report(HealthStatusScope, HealthStatusItemConsumer)will not be called if this method return false. Implementations should not perform any complex calculations, they are expected to quickly analyzeHealthStatusScopeand return false if it is clear that they can not report any acceptable items. For example, they can return false if they can't produce items with the requested severity (that is accepted byHealthStatusScope.isItemWithSeverityAccepted(ItemSeverity)).- Specified by:
 canReportItemsForin classHealthStatusReport
 
- 
reportTriggerProblems
protected void reportTriggerProblems(BuildTriggerDescriptor trigger, SBuildType buildType, HealthStatusItemConsumer resultConsumer)
- Specified by:
 reportTriggerProblemsin classBuildTriggerSettingsReport
 
 - 
 
 -