Class CmsExtendedSiteSelector.SiteSelectorOption

    • Constructor Summary

      Constructors 
      Constructor Description
      SiteSelectorOption​(java.lang.String site, java.lang.String path, java.lang.String label)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getLabel()
      Gets the option label.
      java.lang.String getPath()
      Gets the path to jump to as a site path (may be null).
      java.lang.String getSite()
      Gets the site root
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SiteSelectorOption

        public SiteSelectorOption​(java.lang.String site,
                                  java.lang.String path,
                                  java.lang.String label)
        Creates a new instance.
        Parameters:
        site - the site root
        path - the path in the site (may be null)
        label - the option label
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • getLabel

        public java.lang.String getLabel()
        Gets the option label.
        Returns:
        the option label
      • getPath

        public java.lang.String getPath()
        Gets the path to jump to as a site path (may be null).
        Returns:
        the path to jump to
      • getSite

        public java.lang.String getSite()
        Gets the site root
        Returns:
        the site root
      • hashCode

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