com.atlassian.bamboo.event
Class BuildResultEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.event.BuildResultEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BuildCanceledEvent, BuildCommentedEvent, BuildResultDeletedEvent, BuildResultsSummaryUpdatedEvent, BuildStateResultEvent
public class BuildResultEvent
- extends BuildEvent
Base class for build result related events
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
BuildResultEvent(java.lang.Object source,
java.lang.String buildKey,
int buildNumber)
|
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
buildNumber
protected final int buildNumber
BuildResultEvent
public BuildResultEvent(java.lang.Object source,
java.lang.String buildKey,
int buildNumber)
getBuildNumber
public int getBuildNumber()
getPlanResultKey
public PlanResultKey getPlanResultKey()
- Gets the
PlanResultKey
- Returns:
- planResultKey
getBuildResultKey
public java.lang.String getBuildResultKey()
- Get the Build Result key eg "BAM-BOO-123"
- Returns:
- buildResultKey
Copyright © 2010 Atlassian. All Rights Reserved.