com.atlassian.bamboo.bandana
Class BambooBandanaContextImpl
java.lang.Object
com.atlassian.bamboo.bandana.BambooBandanaContextImpl
- All Implemented Interfaces:
- BambooBandanaContext, com.atlassian.bandana.BandanaContext, Serializable
- Direct Known Subclasses:
- PlanAwareBandanaContext
public class BambooBandanaContextImpl
- extends Object
- implements BambooBandanaContext
- See Also:
- Serialized Form
BambooBandanaContextImpl
public BambooBandanaContextImpl(@Nullable
BambooBandanaContext parentContext,
long planId,
@Nullable
String pluginKey)
getParentContext
@Nullable
public BambooBandanaContext getParentContext()
- Description copied from interface:
BambooBandanaContext
- Gets the parent context. Overriden to return
BambooBandanaContext
specifically.
- Specified by:
getParentContext
in interface BambooBandanaContext
- Specified by:
getParentContext
in interface com.atlassian.bandana.BandanaContext
getPlanId
public long getPlanId()
- Description copied from interface:
BambooBandanaContext
- Does it have any associated plans
- Specified by:
getPlanId
in interface BambooBandanaContext
- Returns:
getPluginKey
@Nullable
public String getPluginKey()
- Description copied from interface:
BambooBandanaContext
- Get plugin key of plugin associated with this context.
- Specified by:
getPluginKey
in interface BambooBandanaContext
- Returns:
- plugin key of this context, or
null
if this context is not associated with any particular
plugin
hasParentContext
public boolean hasParentContext()
- Specified by:
hasParentContext
in interface com.atlassian.bandana.BandanaContext
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.