jetbrains.buildServer.serverSide.healthStatus
Class HealthStatusItem

java.lang.Object
  extended by jetbrains.buildServer.serverSide.healthStatus.HealthStatusItem

public class HealthStatusItem
extends java.lang.Object

Health status inspection result

Since:
8.0

Constructor Summary
HealthStatusItem(java.lang.String identity, ItemCategory category, ItemSeverity severity, java.util.Map<java.lang.String,java.lang.Object> additionalData)
          Creates new inspection result.
HealthStatusItem(java.lang.String identity, ItemCategory category, java.util.Map<java.lang.String,java.lang.Object> additionalData)
          Creates new inspection result.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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 class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object