Interface ProcessItemRenderingStrategy

    • Method Detail

      • canHandle

        boolean canHandle​(CronJobHistoryModel cronJobHistory)
        Checks if given process should be rendered by the strategy.
        Parameters:
        cronJobHistory - cron job history representing a process
        Returns:
        handle flag
      • isRerunApplicable

        boolean isRerunApplicable​(CronJobHistoryModel cronJobHistory)
        Checks if it's possible to rerun given process
        Parameters:
        cronJobHistory - cron job history representing a process
        Returns:
        rerun applicable flag
      • rerunCronJob

        void rerunCronJob​(CronJobHistoryModel cronJobHistory)
        Reruns given process
        Parameters:
        cronJobHistory - cron job history representing a process
      • getTitle

        java.lang.String getTitle​(CronJobHistoryModel cronJobHistory)
        Gets title
        Parameters:
        cronJobHistory - cron job history representing a process
        Returns:
        title
      • getJobTitle

        java.lang.String getJobTitle​(CronJobHistoryModel cronJobHistory)
        Gets job title
        Parameters:
        cronJobHistory - cron job history representing a process
        Returns:
        title of the job
      • isProgressSupported

        boolean isProgressSupported​(CronJobHistoryModel cronJobHistory)
        Checks if process supports progress bar. If not then it will not be rendered.
        Parameters:
        cronJobHistory - cron job history representing a process
        Returns:
        rerun applicable flag