Interface ProcessItemRenderingStrategy

All Superinterfaces:
org.springframework.core.Ordered
All Known Implementing Classes:
DefaultProcessItemRenderingStrategy, ExcelImportProcessItemRenderingStrategy, PersonalDataReportProcessItemRenderingStrategy, RuleEngineProcessItemRenderingStrategy, SnIndexerJobProcessItemRenderingStrategy, SyncProcessItemRenderingStrategy

public interface ProcessItemRenderingStrategy extends org.springframework.core.Ordered
Process item rendering strategy
  • Method Details

    • 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

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

      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