com.atlassian.bamboo.bandana
Interface BambooBandanaContext

All Superinterfaces:
com.atlassian.bandana.BandanaContext, java.io.Serializable
All Known Implementing Classes:
AbstractBambooBandanaContext, PlanAwareBandanaContext

public interface BambooBandanaContext
extends com.atlassian.bandana.BandanaContext

Bamboo's BandanaContext with some awareness of plans


Method Summary
 BambooBandanaContext getParentContext()
          Gets the parent context.
 long getPlanId()
          Does it have any associated plans
 java.lang.String getPluginKey()
          Get plugin key of plugin associated with this context.
 
Methods inherited from interface com.atlassian.bandana.BandanaContext
hasParentContext
 

Method Detail

getPlanId

long getPlanId()
Does it have any associated plans

Returns:

getParentContext

@Nullable
BambooBandanaContext getParentContext()
Gets the parent context. Overriden to return BambooBandanaContext specifically.

Specified by:
getParentContext in interface com.atlassian.bandana.BandanaContext
Returns:

getPluginKey

@Nullable
java.lang.String getPluginKey()
Get plugin key of plugin associated with this context.

Returns:
plugin key of this context, or null if this context is not associated with any particular plugin


Copyright © 2012 Atlassian. All Rights Reserved.