com.atlassian.confluence.selenium.client
Class Location

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.Location

public class Location
extends Object

Represents the location of a page, as a parent page plus space.


Constructor Summary
Location(Page parentPage)
           
Location(Space space)
          Located at the root of a space (i.e.
Location(Space space, Page parentPage)
           
Location(Space space, String parentPageTitle)
           
Location(String spaceKey, String spaceName, String parentPageTitle)
           
 
Method Summary
 boolean equals(Object o)
           
 String getParentPageTitle()
           
 String getSpaceKey()
           
 String getSpaceName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(String spaceKey,
                String spaceName,
                String parentPageTitle)

Location

public Location(Space space,
                Page parentPage)

Location

public Location(Space space,
                String parentPageTitle)

Location

public Location(Space space)
Located at the root of a space (i.e. no parent page).


Location

public Location(Page parentPage)
Method Detail

getSpaceKey

public String getSpaceKey()

getSpaceName

public String getSpaceName()

getParentPageTitle

public String getParentPageTitle()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.