com.atlassian.bamboo.bandana
Class PlanAwareBandanaContext
java.lang.Object
com.atlassian.bamboo.bandana.AbstractBambooBandanaContext
com.atlassian.bamboo.bandana.PlanAwareBandanaContext
- All Implemented Interfaces:
- BambooBandanaContext, com.atlassian.bandana.BandanaContext, java.io.Serializable, java.lang.Comparable<PlanAwareBandanaContext>
public class PlanAwareBandanaContext
- extends AbstractBambooBandanaContext
- implements java.lang.Comparable<PlanAwareBandanaContext>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
GLOBAL_CONTEXT
public static final PlanAwareBandanaContext GLOBAL_CONTEXT
PlanAwareBandanaContext
@Deprecated
public PlanAwareBandanaContext(long planId)
- Deprecated. since 4.0 use
forPlan(ImmutablePlan)
- Create Bandana context for a Plan
- Parameters:
planId
- id of a Plan
PlanAwareBandanaContext
@Deprecated
public PlanAwareBandanaContext(@NotNull
BambooBandanaContext parentContext,
long planId)
- Deprecated. since 4.0 use
forPlugin(BambooBandanaContext, String)
- Parameters:
parentContext
- planId
- id of a Plan
PlanAwareBandanaContext
@Deprecated
public PlanAwareBandanaContext(long planId,
@Nullable
java.lang.String pluginKey)
- Deprecated. since 4.0 use
forPlugin(BambooBandanaContext, String)
- Parameters:
planId
- id of a PlanpluginKey
- Plugin's key
PlanAwareBandanaContext
public PlanAwareBandanaContext(@Nullable
BambooBandanaContext parentContext,
long planId,
@Nullable
java.lang.String pluginKey)
forPlugin
public static PlanAwareBandanaContext forPlugin(long planId,
@NotNull
com.atlassian.plugin.Plugin plugin)
forPlugin
public static PlanAwareBandanaContext forPlugin(@NotNull
BambooBandanaContext parentContext,
@NotNull
java.lang.String pluginKey)
forPlan
public static PlanAwareBandanaContext forPlan(@NotNull
ImmutablePlan plan)
isGlobal
public boolean isGlobal()
- Description copied from interface:
BambooBandanaContext
- IF the context is global
- Specified by:
isGlobal
in interface BambooBandanaContext
- Overrides:
isGlobal
in class AbstractBambooBandanaContext
- Returns:
compareTo
public int compareTo(PlanAwareBandanaContext other)
- Specified by:
compareTo
in interface java.lang.Comparable<PlanAwareBandanaContext>
Copyright © 2012 Atlassian. All Rights Reserved.