com.atlassian.bamboo.v2.events
Class ChangeDetectionRequiredEvent

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.v2.events.ChangeDetectionRequiredEvent
All Implemented Interfaces:
PlanEvent, Serializable

@AsynchronousPreferred
public class ChangeDetectionRequiredEvent
extends BuildEvent

Event which signifies that Bamboo should check repositories for changes

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChangeDetectionRequiredEvent(Object source, PlanKey planKey, TriggerDefinition triggerDefinition, boolean logIfNoChanges)
           
ChangeDetectionRequiredEvent(Object source, PlanKey planKey, TriggerDefinition triggerDefinition, boolean logIfNoChanges, CacheAwareness.CacheInfo... cachesToIgnore)
           
ChangeDetectionRequiredEvent(Object source, String buildKey, TriggerDefinition triggerDefinition, boolean logIfNoChanges)
          Deprecated. since 5.9
 
Method Summary
 CacheAwareness.CacheInfo[] getCachesToIgnore()
           
 TriggerDefinition getTrigger()
           
 Map<String,String> getTriggerConditionsConfiguration()
           
 long getTriggerId()
          Identifier (unique to a plan) of a Chain trigger being the source of this event.
 Set<Long> getTriggeringRepositories()
           
 boolean isLogIfNoChanges()
           
 void setCachesToIgnore(CacheAwareness.CacheInfo... cachesToIgnore)
           
 
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
 

Constructor Detail

ChangeDetectionRequiredEvent

@Deprecated
public ChangeDetectionRequiredEvent(Object source,
                                               String buildKey,
                                               TriggerDefinition triggerDefinition,
                                               boolean logIfNoChanges)
Deprecated. since 5.9


ChangeDetectionRequiredEvent

public ChangeDetectionRequiredEvent(Object source,
                                    PlanKey planKey,
                                    TriggerDefinition triggerDefinition,
                                    boolean logIfNoChanges)

ChangeDetectionRequiredEvent

public ChangeDetectionRequiredEvent(Object source,
                                    PlanKey planKey,
                                    TriggerDefinition triggerDefinition,
                                    boolean logIfNoChanges,
                                    CacheAwareness.CacheInfo... cachesToIgnore)
Method Detail

isLogIfNoChanges

public boolean isLogIfNoChanges()

getTriggeringRepositories

@NotNull
public Set<Long> getTriggeringRepositories()

getTriggerConditionsConfiguration

@NotNull
public Map<String,String> getTriggerConditionsConfiguration()

getTriggerId

public long getTriggerId()
Identifier (unique to a plan) of a Chain trigger being the source of this event.


getTrigger

public TriggerDefinition getTrigger()

getCachesToIgnore

@NotNull
public CacheAwareness.CacheInfo[] getCachesToIgnore()

setCachesToIgnore

public void setCachesToIgnore(CacheAwareness.CacheInfo... cachesToIgnore)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.