com.atlassian.bamboo.event
Class BuildEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.bamboo.event.BuildEvent
- All Implemented Interfaces:
- PlanEvent, java.io.Serializable
- Direct Known Subclasses:
- BuildConfigurationUpdatedEvent, BuildCreatedEvent, BuildDeletedEvent, BuildHungEvent, BuildRequirementUpdatedEvent, BuildResultEvent, ChangeDetectionRequiredEvent, InitialBuildRequiredEvent
@AsynchronousPreferred
public class BuildEvent
- extends com.atlassian.event.Event
- implements PlanEvent
Generic base event for Event
s that captures a Plan
. We store the key so that the listeners
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
BuildEvent(java.lang.Object source,
PlanKey planKey)
|
BuildEvent(java.lang.Object source,
java.lang.String buildKey)
|
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BuildEvent
public BuildEvent(java.lang.Object source,
java.lang.String buildKey)
BuildEvent
public BuildEvent(java.lang.Object source,
PlanKey planKey)
getBuildPlanKey
public java.lang.String getBuildPlanKey()
getPlanKey
public PlanKey getPlanKey()
- Gets the
PlanKey
- Specified by:
getPlanKey
in interface PlanEvent
- Returns:
- planKey
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject
Copyright © 2012 Atlassian. All Rights Reserved.