com.atlassian.confluence.setup.bandana
Class ConfluenceBandanaContext

java.lang.Object
  extended bycom.atlassian.confluence.setup.bandana.ConfluenceBandanaContext
All Implemented Interfaces:
BandanaContext, Serializable

public class ConfluenceBandanaContext
extends Object
implements BandanaContext

See Also:
Serialized Form

Field Summary
static ConfluenceBandanaContext GLOBAL_CONTEXT
           
 
Constructor Summary
ConfluenceBandanaContext()
          Create a global context
ConfluenceBandanaContext(Space space)
          Create a space context
ConfluenceBandanaContext(String spaceKey)
           
 
Method Summary
 boolean equals(Object o)
           
 String getContextKey()
           
 BandanaContext getParentContext()
           
 String getSpaceKey()
           
 int hashCode()
           
 boolean hasParentContext()
           
 boolean isGlobal()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GLOBAL_CONTEXT

public static final ConfluenceBandanaContext GLOBAL_CONTEXT
Constructor Detail

ConfluenceBandanaContext

public ConfluenceBandanaContext()
Create a global context


ConfluenceBandanaContext

public ConfluenceBandanaContext(Space space)
Create a space context

Parameters:
space -

ConfluenceBandanaContext

public ConfluenceBandanaContext(String spaceKey)
Method Detail

getSpaceKey

public String getSpaceKey()

getParentContext

public BandanaContext getParentContext()
Specified by:
getParentContext in interface BandanaContext

hasParentContext

public boolean hasParentContext()
Specified by:
hasParentContext in interface BandanaContext

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()

getContextKey

public String getContextKey()
Returns:
a String that identifies the particular context in Confluence. Different instances that refer to the same space will have the same key.

isGlobal

public boolean isGlobal()


Confluence is developed by Atlassian.