com.atlassian.bamboo
Class ReasonForBuild

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

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

This class provides a way to mark builds with the reason they have been built.

See Also:
Serialized Form

Field Summary
static ReasonForBuild BUILD_HAS_BEEN_EDITED
           
static ReasonForBuild CODE_HAS_CHANGED
           
static ReasonForBuild DEPENDENCY_BUILD
           
static ReasonForBuild INITIAL_CLEAN_BUILD
           
static ReasonForBuild MANUAL_BUILD
           
static ReasonForBuild SCHEDULED_BUILD
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getReason()
           
static ReasonForBuild getReasonForBuild(java.lang.String reason)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INITIAL_CLEAN_BUILD

public static final ReasonForBuild INITIAL_CLEAN_BUILD

CODE_HAS_CHANGED

public static final ReasonForBuild CODE_HAS_CHANGED

MANUAL_BUILD

public static final ReasonForBuild MANUAL_BUILD

DEPENDENCY_BUILD

public static final ReasonForBuild DEPENDENCY_BUILD

BUILD_HAS_BEEN_EDITED

public static final ReasonForBuild BUILD_HAS_BEEN_EDITED

SCHEDULED_BUILD

public static final ReasonForBuild SCHEDULED_BUILD
Method Detail

getReasonForBuild

public static ReasonForBuild getReasonForBuild(java.lang.String reason)

getReason

public java.lang.String getReason()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object obj)

hashCode

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

toString

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


Copyright © 2010 Atlassian. All Rights Reserved.