jetbrains.buildServer
Class StatusDescriptor

java.lang.Object
  extended by jetbrains.buildServer.StatusDescriptor

public class StatusDescriptor
extends java.lang.Object

Build status descriptor


Constructor Summary
StatusDescriptor(Status status, java.lang.String text)
          Creates new status descriptor object.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Status getStatus()
          Returns current build status
 java.lang.String getText()
          Returns status text
 int hashCode()
           
 boolean isSuccessful()
          Returns if the build is successful.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusDescriptor

public StatusDescriptor(Status status,
                        java.lang.String text)
Creates new status descriptor object.

Parameters:
status - build status.
text - result text.
Method Detail

getStatus

public Status getStatus()
Returns current build status

Returns:
current build status

getText

public java.lang.String getText()
Returns status text

Returns:
current status text presentation

isSuccessful

public boolean isSuccessful()
Returns if the build is successful.

Returns:
true if corresponding build currently successful.

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