jetbrains.buildServer.serverSide.healthStatus
Class ItemCategory

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

public class ItemCategory
extends java.lang.Object

Represents type of health status problems.

Since:
8.0 author: Evgeniy.Koshkin

Constructor Summary
ItemCategory(java.lang.String categoryId, java.lang.String categoryName, ItemSeverity severity)
          Creates new inspection results category.
ItemCategory(java.lang.String categoryId, java.lang.String categoryName, ItemSeverity severity, java.lang.String description, java.lang.String helpUrl)
          Creates new inspection results category.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDescription()
          Detailed description of of the type of the problem.
 java.lang.String getHelpUrl()
          Link to on-line help for this problem
 java.lang.String getId()
           
 java.lang.String getName()
          Brief name of the type of the problem.
 ItemSeverity getSeverity()
          Default severity for problems of this type.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemCategory

public ItemCategory(@NotNull
                    java.lang.String categoryId,
                    @NotNull
                    java.lang.String categoryName,
                    @NotNull
                    ItemSeverity severity)
Creates new inspection results category.

Parameters:
categoryId - Id for this category. Expected to be unique between categories owned by particular report.
categoryName - brief name of the type of the problem
severity - severity of the items of this category

ItemCategory

public ItemCategory(@NotNull
                    java.lang.String categoryId,
                    @NotNull
                    java.lang.String categoryName,
                    @NotNull
                    ItemSeverity severity,
                    @Nullable
                    java.lang.String description,
                    @Nullable
                    java.lang.String helpUrl)
Creates new inspection results category.

Parameters:
categoryId - Id for this category. Expected to be unique between categories owned by particular report.
categoryName - brief Name of the type of the problem
severity - severity of the items of this category
description - detailed description of of the type of the problem
helpUrl - link to on-line help for this problem
Method Detail

getId

@NotNull
public java.lang.String getId()

getName

@NotNull
public java.lang.String getName()
Brief name of the type of the problem.


getSeverity

@NotNull
public ItemSeverity getSeverity()
Default severity for problems of this type.


getDescription

@Nullable
public java.lang.String getDescription()
Detailed description of of the type of the problem.


getHelpUrl

@Nullable
public java.lang.String getHelpUrl()
Link to on-line help for this problem


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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object