Class SnIndexerJobProcessItemRenderingStrategy
- java.lang.Object
-
- com.hybris.backoffice.widgets.processes.renderer.DefaultProcessItemRenderingStrategy
-
- de.hybris.platform.searchbackoffice.renderers.SnIndexerJobProcessItemRenderingStrategy
-
- All Implemented Interfaces:
ProcessItemRenderingStrategy,org.springframework.core.Ordered
public class SnIndexerJobProcessItemRenderingStrategy extends DefaultProcessItemRenderingStrategy
-
-
Constructor Summary
Constructors Constructor Description SnIndexerJobProcessItemRenderingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(CronJobHistoryModel cronJobHistory)Checks if given process should be rendered by the strategy.com.hybris.cockpitng.core.user.CockpitUserServicegetCockpitUserService()booleanisProgressSupported(CronJobHistoryModel cronJobHistory)Checks if process supports progress bar.booleanisRerunApplicable(CronJobHistoryModel cronJobHistory)Checks if it's possible to rerun given processvoidsetCockpitUserService(com.hybris.cockpitng.core.user.CockpitUserService cockpitUserService)-
Methods inherited from class com.hybris.backoffice.widgets.processes.renderer.DefaultProcessItemRenderingStrategy
getCronJobService, getJobTitle, getLabelService, getOrder, getPermissionCheckingService, getTitle, isFailed, rerunCronJob, setCronJobService, setLabelService, setOrder, setPermissionCheckingService
-
-
-
-
Method Detail
-
canHandle
public boolean canHandle(CronJobHistoryModel cronJobHistory)
Description copied from interface:ProcessItemRenderingStrategyChecks if given process should be rendered by the strategy.- Specified by:
canHandlein interfaceProcessItemRenderingStrategy- Overrides:
canHandlein classDefaultProcessItemRenderingStrategy- Parameters:
cronJobHistory- cron job history representing a process- Returns:
- handle flag
-
isProgressSupported
public boolean isProgressSupported(CronJobHistoryModel cronJobHistory)
Description copied from interface:ProcessItemRenderingStrategyChecks if process supports progress bar. If not then it will not be rendered.- Specified by:
isProgressSupportedin interfaceProcessItemRenderingStrategy- Overrides:
isProgressSupportedin classDefaultProcessItemRenderingStrategy- Parameters:
cronJobHistory- cron job history representing a process- Returns:
- rerun applicable flag
-
isRerunApplicable
public boolean isRerunApplicable(CronJobHistoryModel cronJobHistory)
Description copied from interface:ProcessItemRenderingStrategyChecks if it's possible to rerun given process- Specified by:
isRerunApplicablein interfaceProcessItemRenderingStrategy- Overrides:
isRerunApplicablein classDefaultProcessItemRenderingStrategy- Parameters:
cronJobHistory- cron job history representing a process- Returns:
- rerun applicable flag
-
getCockpitUserService
public com.hybris.cockpitng.core.user.CockpitUserService getCockpitUserService()
-
setCockpitUserService
public void setCockpitUserService(com.hybris.cockpitng.core.user.CockpitUserService cockpitUserService)
-
-