Package com.atlassian.bamboo
Class ReasonForBuild
- java.lang.Object
-
- com.atlassian.bamboo.ReasonForBuild
-
- All Implemented Interfaces:
Serializable
public class ReasonForBuild extends Object implements Serializable
This class provides a way to mark builds with the reason they have been built.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object obj)
boolean
equals(Object o)
String
getReason()
static ReasonForBuild
getReasonForBuild(String reason)
int
hashCode()
String
toString()
-
-
-
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(String reason)
-
getReason
public String getReason()
-
compareTo
public int compareTo(Object obj)
-
-