com.atlassian.bamboo.bandana
Class PlanAwareBandanaContext

java.lang.Object
  extended by com.atlassian.bamboo.bandana.AbstractBambooBandanaContext
      extended by 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

Field Summary
static PlanAwareBandanaContext GLOBAL_CONTEXT
           
 
Constructor Summary
PlanAwareBandanaContext(BambooBandanaContext parentContext, long planId, java.lang.String pluginKey)
           
 
Method Summary
 int compareTo(PlanAwareBandanaContext other)
           
static PlanAwareBandanaContext forPlan(ImmutablePlan plan)
           
static PlanAwareBandanaContext forPlugin(BambooBandanaContext parentContext, java.lang.String pluginKey)
           
static PlanAwareBandanaContext forPlugin(long planId, com.atlassian.plugin.Plugin plugin)
           
 
Methods inherited from class com.atlassian.bamboo.bandana.AbstractBambooBandanaContext
equals, getParentContext, getPlanId, getPluginKey, hashCode, hasParentContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_CONTEXT

public static final PlanAwareBandanaContext GLOBAL_CONTEXT
Constructor Detail

PlanAwareBandanaContext

public PlanAwareBandanaContext(@Nullable
                               BambooBandanaContext parentContext,
                               long planId,
                               @Nullable
                               java.lang.String pluginKey)
Method Detail

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)

compareTo

public int compareTo(PlanAwareBandanaContext other)
Specified by:
compareTo in interface java.lang.Comparable<PlanAwareBandanaContext>


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.