Interface JobListLinkHandler


  • public interface JobListLinkHandler
    Handles link generation and redirect parameters for job list pages
    • Method Detail

      • getName

        java.lang.String getName()
        Returns:
        The name that matches the value configured in the project property project.gui.job.list.default
      • generateRedirectMap

        java.util.Map generateRedirectMap​(java.util.Map redirectParams)
        Parameters:
        redirectParams - will be assigned to the 'params' attribute in the map generated by this method
        Returns:
        a map that looks like [controller:'customjoblist',action:'listing_action',params: redirectParams]
      • generateLinkToJobListAction

        java.lang.String generateLinkToJobListAction​(java.lang.String project)
        Parameters:
        project - The name of the project for the link
        Returns:
        a relative link to the job list. e.g /project/myproject/jobs