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
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(CronJobHistoryModel cronJobHistory) Checks if given process should be rendered by the strategy.getJobTitle(CronJobHistoryModel cronJobHistory) Gets job titlegetTitle(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 processMethods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
canHandle
Checks if given process should be rendered by the strategy.- Parameters:
cronJobHistory- cron job history representing a process- Returns:
- handle flag
-
isRerunApplicable
Checks if it's possible to rerun given process- Parameters:
cronJobHistory- cron job history representing a process- Returns:
- rerun applicable flag
-
rerunCronJob
Reruns given process- Parameters:
cronJobHistory- cron job history representing a process
-
getTitle
Gets title- Parameters:
cronJobHistory- cron job history representing a process- Returns:
- title
-
getJobTitle
Gets job title- Parameters:
cronJobHistory- cron job history representing a process- Returns:
- title of the job
-
isProgressSupported
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
-