Package com.atlassian.bamboo.v2.events
Class ChangeDetectionRequiredEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.bamboo.event.BuildEvent
-
- 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
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull CacheAwareness.CacheInfo[]
getCachesToIgnore()
long
getFireTime()
TriggerDefinition
getTrigger()
@NotNull Map<String,String>
getTriggerConditionsConfiguration()
long
getTriggerId()
Identifier (unique to a plan) of a Chain trigger being the source of this event.@NotNull 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 java.util.EventObject
getSource
-
-
-
-
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()
-
getTriggerConditionsConfiguration
@NotNull public @NotNull 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 @NotNull CacheAwareness.CacheInfo[] getCachesToIgnore()
-
getFireTime
public long getFireTime()
-
setCachesToIgnore
public void setCachesToIgnore(CacheAwareness.CacheInfo... cachesToIgnore)
-
-