Class HealthStatusItem
- java.lang.Object
-
- jetbrains.buildServer.serverSide.healthStatus.HealthStatusItem
-
- Direct Known Subclasses:
BuildTypeSuggestedItem
,ProjectSuggestedItem
public class HealthStatusItem extends java.lang.Object
Health status inspection result- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description HealthStatusItem(java.lang.String identity, ItemCategory category, java.util.Map<java.lang.String,java.lang.Object> additionalData)
Creates new inspection result.HealthStatusItem(java.lang.String identity, ItemCategory category, ItemSeverity severity, java.util.Map<java.lang.String,java.lang.Object> additionalData)
Creates new inspection result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,java.lang.Object>
getAdditionalData()
ItemCategory
getCategory()
java.lang.String
getIdentity()
ItemSeverity
getSeverity()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
HealthStatusItem
public HealthStatusItem(@NotNull java.lang.String identity, @NotNull ItemCategory category, @NotNull java.util.Map<java.lang.String,java.lang.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 java.lang.String identity, @NotNull ItemCategory category, @NotNull ItemSeverity severity, @NotNull java.util.Map<java.lang.String,java.lang.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 java.lang.String getIdentity()
- Returns:
- problem identity - unique between items from single category
-
getCategory
@NotNull public ItemCategory getCategory()
-
getSeverity
@NotNull public ItemSeverity getSeverity()
-
getAdditionalData
@NotNull public java.util.Map<java.lang.String,java.lang.Object> getAdditionalData()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-