Class HealthStatusItem
- java.lang.Object
-
- jetbrains.buildServer.serverSide.healthStatus.HealthStatusItem
-
- Direct Known Subclasses:
BuildTypeSuggestedItem
,CollationMismatchProblemReporter.CollationMismatchProblemItem
,HealthStatusItemEx
,ProjectSuggestedItem
public class HealthStatusItem extends Object
Health status inspection result- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description HealthStatusItem(String identity, ItemCategory category, Map<String,Object> additionalData)
Creates new inspection result.HealthStatusItem(String identity, ItemCategory category, ItemSeverity severity, Map<String,Object> additionalData)
Creates new inspection result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,Object>
getAdditionalData()
ItemCategory
getCategory()
String
getIdentity()
ItemSeverity
getSeverity()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
HealthStatusItem
public HealthStatusItem(@NotNull String identity, @NotNull ItemCategory category, @NotNull Map<String,Object> additionalData)
Creates new inspection result. Sets up category's severity as severity of this particular problem.- Parameters:
identity
- Id for this specific problem. Expected to be unique between items from single category.category
- Category of this problem.additionalData
- additional data which can be used to render human visible description of the inspection instance
-
HealthStatusItem
public HealthStatusItem(@NotNull String identity, @NotNull ItemCategory category, @NotNull ItemSeverity severity, @NotNull Map<String,Object> additionalData)
Creates new inspection result.- Parameters:
identity
- Id for this specific problem. Expected to be unique between items from single category.category
- Category of this problem.severity
- Severity of this particular problem.additionalData
- additional data which can be used to render human visible description of the inspection instance
-
-
Method Detail
-
getIdentity
@NotNull public String getIdentity()
- Returns:
- problem identity - unique between items from single category
-
getCategory
@NotNull public ItemCategory getCategory()
-
getSeverity
@NotNull public ItemSeverity getSeverity()
-
-