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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PlanAwareBandanaContext
GLOBAL_CONTEXT
-
Constructor Summary
Constructors Constructor Description PlanAwareBandanaContext(@Nullable BambooBandanaContext parentContext, long chainId, long planId, @Nullable String pluginKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
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.since 6.9 useforPlugin(long, long, Plugin)
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 Detail
-
GLOBAL_CONTEXT
public static final PlanAwareBandanaContext GLOBAL_CONTEXT
-
-
Constructor Detail
-
PlanAwareBandanaContext
public PlanAwareBandanaContext(@Nullable @Nullable BambooBandanaContext parentContext, long chainId, long planId, @Nullable @Nullable String pluginKey)
-
-
Method Detail
-
forPlugin
@Deprecated public static PlanAwareBandanaContext forPlugin(long planId, @NotNull @NotNull com.atlassian.plugin.Plugin plugin)
Deprecated.since 6.9 useforPlugin(long, long, Plugin)
-
forChainId
public static PlanAwareBandanaContext forChainId(long chainId)
-
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
public static PlanAwareBandanaContext forJob(@NotNull @NotNull ImmutableJob job)
-
forPlan
public static PlanAwareBandanaContext forPlan(@NotNull @NotNull ImmutablePlan plan)
-
compareTo
public int compareTo(PlanAwareBandanaContext other)
- Specified by:
compareTo
in interfaceComparable<PlanAwareBandanaContext>
-
-