Package com.atlassian.bamboo.bandana
Class PlanAwareBandanaContext
java.lang.Object
com.atlassian.bamboo.bandana.BambooBandanaContextImpl
com.atlassian.bamboo.bandana.PlanAwareBandanaContext
- All Implemented Interfaces:
BambooBandanaContext
,com.atlassian.bandana.BandanaContext
,Serializable
,Comparable<PlanAwareBandanaContext>
public class PlanAwareBandanaContext
extends BambooBandanaContextImpl
implements Comparable<PlanAwareBandanaContext>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlanAwareBandanaContext
(@Nullable BambooBandanaContext parentContext, long chainId, long planId, @Nullable String pluginKey) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(PlanAwareBandanaContext other) static PlanAwareBandanaContext
forChainId
(long chainId) static PlanAwareBandanaContext
forJob
(@NotNull ImmutableJob job) static PlanAwareBandanaContext
forPlan
(@NotNull ImmutablePlan plan) static PlanAwareBandanaContext
forPlugin
(long chainId, long planId, @NotNull com.atlassian.plugin.Plugin plugin) static PlanAwareBandanaContext
forPlugin
(long planId, @NotNull com.atlassian.plugin.Plugin plugin) Deprecated.static PlanAwareBandanaContext
forPlugin
(@NotNull BambooBandanaContext parentContext, @NotNull String pluginKey) Methods inherited from class com.atlassian.bamboo.bandana.BambooBandanaContextImpl
equals, getChainId, getParentContext, getPlanId, getPluginKey, hashCode, hasParentContext
-
Field Details
-
GLOBAL_CONTEXT
-
-
Constructor Details
-
PlanAwareBandanaContext
public PlanAwareBandanaContext(@Nullable @Nullable BambooBandanaContext parentContext, long chainId, long planId, @Nullable @Nullable String pluginKey)
-
-
Method Details
-
forPlugin
@Deprecated public static PlanAwareBandanaContext forPlugin(long planId, @NotNull @NotNull com.atlassian.plugin.Plugin plugin) Deprecated.since 6.9 useforPlugin(long, long, Plugin)
-
forChainId
-
forPlugin
public static PlanAwareBandanaContext forPlugin(long chainId, long planId, @NotNull @NotNull com.atlassian.plugin.Plugin plugin) -
forPlugin
public static PlanAwareBandanaContext forPlugin(@NotNull @NotNull BambooBandanaContext parentContext, @NotNull @NotNull String pluginKey) -
forJob
-
forPlan
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PlanAwareBandanaContext>
-
forPlugin(long, long, Plugin)