Interface ProcessItemRenderingStrategy
-
- All Superinterfaces:
org.springframework.core.Ordered
- All Known Implementing Classes:
DefaultProcessItemRenderingStrategy,ExcelImportProcessItemRenderingStrategy,PersonalDataReportProcessItemRenderingStrategy,RuleEngineProcessItemRenderingStrategy,SyncProcessItemRenderingStrategy
public interface ProcessItemRenderingStrategy extends org.springframework.core.OrderedProcess item rendering strategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandle(CronJobHistoryModel cronJobHistory)Checks if given process should be rendered by the strategy.java.lang.StringgetJobTitle(CronJobHistoryModel cronJobHistory)Gets job titlejava.lang.StringgetTitle(CronJobHistoryModel cronJobHistory)Gets titlebooleanisProgressSupported(CronJobHistoryModel cronJobHistory)Checks if process supports progress bar.booleanisRerunApplicable(CronJobHistoryModel cronJobHistory)Checks if it's possible to rerun given processvoidrerunCronJob(CronJobHistoryModel cronJobHistory)Reruns given process
-
-
-
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
-
-