com.atlassian.bamboo.plan.trigger
Class TriggerManagerImpl
java.lang.Object
com.atlassian.bamboo.plan.trigger.TriggerManagerImpl
- All Implemented Interfaces:
- TriggerManager, TriggerReasonManager
public class TriggerManagerImpl
- extends java.lang.Object
- implements TriggerManager, TriggerReasonManager
Constructor Summary |
TriggerManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriggerManagerImpl
public TriggerManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
getPlanTrigger
@NotNull
public PlanTrigger getPlanTrigger(@NotNull
java.lang.String completeKey)
throws java.lang.IllegalArgumentException
- Specified by:
getPlanTrigger
in interface TriggerManager
- Returns:
- planTrigger
- Throws:
java.lang.IllegalArgumentException
- if a PlanTrigger
cannot be found for pluginKey
getTriggerReason
@NotNull
public TriggerReason getTriggerReason(@NotNull
ChainResultsSummary chainResultsSummary,
@NotNull
BuildResultsSummary buildResultsSummary)
- Description copied from interface:
TriggerManager
- Combines the data from the given
ChainResultsSummary
and BuildResultsSummary
to produce a TriggerReason
for a Job
result
- Specified by:
getTriggerReason
in interface TriggerManager
- Specified by:
getTriggerReason
in interface TriggerReasonManager
- Returns:
- triggerReason
getTriggerReason
@NotNull
public TriggerReason getTriggerReason(@NotNull
BuildContext buildContext)
- Description copied from interface:
TriggerManager
- Creates a new instance of the
BuildContext.getTriggerReason()
- Specified by:
getTriggerReason
in interface TriggerManager
- Specified by:
getTriggerReason
in interface TriggerReasonManager
- Returns:
- triggerReason
getTriggerReason
@NotNull
public TriggerReason getTriggerReason(@NotNull
java.lang.String key,
@NotNull
BuildChanges buildChanges,
@NotNull
java.util.Map<java.lang.String,java.lang.String> fieldsMap)
- Specified by:
getTriggerReason
in interface TriggerManager
- Specified by:
getTriggerReason
in interface TriggerReasonManager
getTriggerReason
@NotNull
public TriggerReason getTriggerReason(@NotNull
java.lang.String key,
@NotNull
java.util.Map<java.lang.String,java.lang.String> fieldsMap)
- Specified by:
getTriggerReason
in interface TriggerManager
- Specified by:
getTriggerReason
in interface TriggerReasonManager
getTriggerReason
@NotNull
public TriggerReason getTriggerReason(@NotNull
java.lang.String key,
@NotNull
ResultsSummary resultsSummary)
- Specified by:
getTriggerReason
in interface TriggerManager
- Specified by:
getTriggerReason
in interface TriggerReasonManager
getTriggerReasonRenderer
@NotNull
public TriggerReasonRenderer getTriggerReasonRenderer(@NotNull
TriggerReason triggerReason,
@NotNull
ResultsSummary resultsSummary)
- Specified by:
getTriggerReasonRenderer
in interface TriggerManager
- Specified by:
getTriggerReasonRenderer
in interface TriggerReasonManager
getTriggerReasonRenderer
@NotNull
public TriggerReasonRenderer getTriggerReasonRenderer(@NotNull
TriggerReason triggerReason,
@NotNull
CurrentlyBuilding currentlyBuilding)
- Specified by:
getTriggerReasonRenderer
in interface TriggerManager
- Specified by:
getTriggerReasonRenderer
in interface TriggerReasonManager
Copyright © 2012 Atlassian. All Rights Reserved.