com.atlassian.bamboo.builder
Class BuildState

java.lang.Object
  extended by com.atlassian.bamboo.builder.BuildState
All Implemented Interfaces:
java.io.Serializable

public class BuildState
extends java.lang.Object
implements java.io.Serializable

Simple enumeration of build states.

See Also:
Serialized Form

Field Summary
static BuildState FAILED
          The build failed
static BuildState SUCCESS
          The build succeeded
 
Method Summary
 boolean equals(java.lang.Object o)
           
static BuildState getInstance(java.lang.String state)
           
 int hashCode()
           
 java.lang.String toString()
          For reporting the state
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final BuildState SUCCESS
The build succeeded


FAILED

public static final BuildState FAILED
The build failed

Method Detail

getInstance

public static BuildState getInstance(java.lang.String state)

toString

public java.lang.String toString()
For reporting the state

Overrides:
toString in class java.lang.Object
Returns:
The state!

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


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.