Package com.atlassian.bamboo.v2.events
Class ChangeDetectionRequiredEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.v2.events.ChangeDetectionRequiredEvent
- All Implemented Interfaces:
PlanEvent
,Serializable
Event which signifies that Bamboo should check repositories for changes
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionChangeDetectionRequiredEvent
(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
Modifier and TypeMethodDescription@NotNull CacheAwareness.CacheInfo[]
long
long
Identifier (unique to a plan) of a Chain trigger being the source of this event.boolean
void
setCachesToIgnore
(CacheAwareness.CacheInfo... cachesToIgnore) Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey, toString
Methods inherited from class com.atlassian.bamboo.event.BambooEvent
equals, hashCode
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
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 Details
-
isLogIfNoChanges
public boolean isLogIfNoChanges() -
getTriggeringRepositories
-
getTriggerConditionsConfiguration
-
getTriggerId
public long getTriggerId()Identifier (unique to a plan) of a Chain trigger being the source of this event. -
getTrigger
-
getCachesToIgnore
-
getFireTime
public long getFireTime() -
setCachesToIgnore
-