Package org.opencms.ui.components
Class CmsExtendedSiteSelector.SiteSelectorOption
java.lang.Object
org.opencms.ui.components.CmsExtendedSiteSelector.SiteSelectorOption
- Enclosing class:
CmsExtendedSiteSelector
Class representing a single option.
-
Constructor Summary
ConstructorsConstructorDescriptionSiteSelectorOption(String site, String path, String label) Creates a new instance. -
Method Summary
-
Constructor Details
-
SiteSelectorOption
Creates a new instance.- Parameters:
site- the site rootpath- the path in the site (may be null)label- the option label
-
-
Method Details
-
equals
-
getLabel
Gets the option label.- Returns:
- the option label
-
getOptionPath
Returns the full path for this site selector option.- Returns:
- the full path for this site selector option
-
getPath
Gets the path to jump to as a site path (may be null).- Returns:
- the path to jump to
-
getSite
Gets the site root- Returns:
- the site root
-
hashCode
-