com.atlassian.bamboo.event
Class PlanSuspensionRequestedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.bamboo.event.PlanSuspensionRequestedEvent
All Implemented Interfaces:
PlanEvent, java.io.Serializable

public class PlanSuspensionRequestedEvent
extends com.atlassian.event.Event
implements PlanEvent

An event that requests for a plan to be suspended

Since:
v4.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PlanSuspensionRequestedEvent(java.lang.Object source, PlanKey chainKey, java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 PlanKey getPlanKey()
          Get the PlanKey of the Chain
 java.lang.String toString()
           
 
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
 

Constructor Detail

PlanSuspensionRequestedEvent

public PlanSuspensionRequestedEvent(java.lang.Object source,
                                    PlanKey chainKey,
                                    java.lang.String message)
Method Detail

getPlanKey

@NotNull
public PlanKey getPlanKey()
Get the PlanKey of the Chain

Specified by:
getPlanKey in interface PlanEvent
Returns:
planKey

getMessage

@Nullable
public java.lang.String getMessage()

toString

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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.