Class CommonTaskLink


  • public class CommonTaskLink
    extends java.lang.Object
    Displays a link whose text describes a task found in the Config section, and whose url leads to the page where that task can be performed.
    • Constructor Detail

      • CommonTaskLink

        public CommonTaskLink​(ConfigOverviewCategory category,
                              java.lang.String text,
                              org.apache.commons.lang3.tuple.Pair<java.lang.String,​java.lang.String> menuLocation)
        Useful when dealing with MENU_ENTRY pairs
        Parameters:
        category - the category presented on the body of the overview page
        text - the link text
        menuLocation - the pair of representing (config menu category, config page)
      • CommonTaskLink

        public CommonTaskLink​(ConfigOverviewCategory category,
                              java.lang.String text,
                              java.lang.String url)
        Parameters:
        category - the category presented on the body of the overview page
        text - the link text
        url - can be relative to the configure section (such as using 'system.overview'), or a full path ('/main/.../system.overview').
    • Method Detail

      • getText

        public java.lang.String getText()
      • getUrl

        public java.lang.String getUrl()