com.atlassian.confluence.selenium.client
Class Location

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

public class Location
extends java.lang.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, java.lang.String parentPageTitle)
           
Location(java.lang.String spaceKey, java.lang.String parentPageTitle)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getParentPageTitle()
           
 java.lang.String getSpaceKey()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(java.lang.String spaceKey,
                java.lang.String parentPageTitle)

Location

public Location(Space space,
                java.lang.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 java.lang.String getSpaceKey()

getParentPageTitle

public java.lang.String getParentPageTitle()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.