public class BambooBandanaContextImpl extends Object implements BambooBandanaContext
Constructor and Description |
---|
BambooBandanaContextImpl(BambooBandanaContext parentContext,
long chainId,
long planId,
String pluginKey)
Constructs plugin context for a plan.
|
BambooBandanaContextImpl(BambooBandanaContext parentContext,
String pluginKey)
Constructs plugin context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
long |
getChainId()
Does it have any associated chains.
|
BambooBandanaContext |
getParentContext()
Gets the parent context.
|
long |
getPlanId()
Does it have any associated plans (chain or job).
|
String |
getPluginKey()
Get plugin key of plugin associated with this context.
|
int |
hashCode() |
boolean |
hasParentContext() |
public BambooBandanaContextImpl(@Nullable BambooBandanaContext parentContext, @Nullable String pluginKey)
public BambooBandanaContextImpl(@Nullable BambooBandanaContext parentContext, long chainId, long planId, @Nullable String pluginKey)
@Nullable public BambooBandanaContext getParentContext()
BambooBandanaContext
BambooBandanaContext
specifically.getParentContext
in interface BambooBandanaContext
getParentContext
in interface com.atlassian.bandana.BandanaContext
public long getPlanId()
BambooBandanaContext
getPlanId
in interface BambooBandanaContext
public long getChainId()
BambooBandanaContext
getChainId
in interface BambooBandanaContext
@Nullable public String getPluginKey()
BambooBandanaContext
getPluginKey
in interface BambooBandanaContext
null
if this context is not associated with any particular
pluginpublic boolean hasParentContext()
hasParentContext
in interface com.atlassian.bandana.BandanaContext
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.