com.atlassian.bamboo.event
Class ResultLabelEvent

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.BuildEvent
                  extended by com.atlassian.bamboo.event.BuildResultEvent
                      extended by com.atlassian.bamboo.event.ResultLabelEvent
All Implemented Interfaces:
PlanEvent, PlanResultEvent, java.io.Serializable
Direct Known Subclasses:
ResultLabelAddedEvent, ResultLabelRemovedEvent

public abstract class ResultLabelEvent
extends BuildResultEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.event.BuildResultEvent
planResultKey
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ResultLabelEvent(java.lang.Object source, PlanResultKey planResultKey, java.lang.String label, com.atlassian.user.User user)
           
 
Method Summary
 java.lang.String getLabel()
           
 com.atlassian.user.User getUser()
           
 java.lang.String getUsername()
          Deprecated. since 5.0 - please use getUser().getName() instead
 
Methods inherited from class com.atlassian.bamboo.event.BuildResultEvent
getBuildNumber, getBuildResultKey, getPlanResultKey
 
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey, 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
 
Methods inherited from interface com.atlassian.bamboo.event.PlanEvent
getPlanKey
 

Constructor Detail

ResultLabelEvent

public ResultLabelEvent(java.lang.Object source,
                        PlanResultKey planResultKey,
                        java.lang.String label,
                        com.atlassian.user.User user)
Method Detail

getLabel

@NotNull
public java.lang.String getLabel()
Returns:
label

getUsername

@Deprecated
@Nullable
public java.lang.String getUsername()
Deprecated. since 5.0 - please use getUser().getName() instead

Returns:
username of the Label

getUser

@Nullable
public com.atlassian.user.User getUser()


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