jetbrains.buildServer.messages
Class Status

java.lang.Object
  extended by jetbrains.buildServer.messages.Status
All Implemented Interfaces:
java.io.Serializable

public final class Status
extends java.lang.Object
implements java.io.Serializable

Author:
Kir
See Also:
Serialized Form

Field Summary
static Status ERROR
           
static Status FAILURE
           
static Status NORMAL
           
static Status UNKNOWN
           
static Status WARNING
           
 
Method Summary
 boolean above(Status status)
          Returns true if this status has higher priority than specified status.
 java.lang.String getHtmlColor()
           
 byte getPriority()
           
static Status getStatus(int priority)
           
static Status getStatus(java.lang.String statusName)
           
 java.lang.String getText()
          Used in JSP
static Status getWorstStatus(Status s1, Status s2)
           
 boolean isFailed()
           
 boolean isIgnored()
          Deprecated. use jetbrains.buildServer.serverSide.STestRun#isIgnored() instead
 boolean isSuccessful()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final Status UNKNOWN

NORMAL

public static final Status NORMAL

WARNING

public static final Status WARNING

FAILURE

public static final Status FAILURE

ERROR

public static final Status ERROR
Method Detail

getPriority

public byte getPriority()

getText

public java.lang.String getText()
Used in JSP


getHtmlColor

public java.lang.String getHtmlColor()

isSuccessful

public boolean isSuccessful()

isFailed

public boolean isFailed()

isIgnored

public boolean isIgnored()
Deprecated. use jetbrains.buildServer.serverSide.STestRun#isIgnored() instead


getStatus

public static Status getStatus(int priority)

getStatus

public static Status getStatus(java.lang.String statusName)

getWorstStatus

public static Status getWorstStatus(Status s1,
                                    Status s2)

toString

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

above

public boolean above(Status status)
Returns true if this status has higher priority than specified status.

Parameters:
status - status
Returns:
see above