com.atlassian.bamboo.bandana
Class PlanAwareBandanaContext
java.lang.Object
com.atlassian.bamboo.bandana.PlanAwareBandanaContext
- All Implemented Interfaces:
- BambooBandanaContext, com.atlassian.bandana.BandanaContext, java.io.Serializable, java.lang.Comparable<PlanAwareBandanaContext>
public class PlanAwareBandanaContext
- extends java.lang.Object
- implements BambooBandanaContext, 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
public PlanAwareBandanaContext(long planId)
isGlobal
public boolean isGlobal()
- Description copied from interface:
BambooBandanaContext
- IF the context is global
- Specified by:
isGlobal
in interface BambooBandanaContext
- Returns:
getPlanId
public long getPlanId()
- Description copied from interface:
BambooBandanaContext
- Does it have any associated plans
- Specified by:
getPlanId
in interface BambooBandanaContext
- Returns:
getParentContext
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
hasParentContext
public boolean hasParentContext()
- Specified by:
hasParentContext
in interface com.atlassian.bandana.BandanaContext
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(PlanAwareBandanaContext o)
- Specified by:
compareTo
in interface java.lang.Comparable<PlanAwareBandanaContext>
Copyright © 2011 Atlassian. All Rights Reserved.