public class SyncProcessItemRenderingStrategy extends DefaultProcessItemRenderingStrategy
| Constructor and Description |
|---|
SyncProcessItemRenderingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(CronJobHistoryModel cronJobHistory)
Checks if given process should be rendered by the strategy.
|
CockpitUserService |
getCockpitUserService() |
protected java.lang.String |
getItemsSyncLabel(CatalogVersionSyncCronJobHistoryModel catalogVersionSyncCronJobHistoryModel) |
protected NotificationService |
getNotificationService() |
SynchronizationFacade |
getSynchronizationFacade() |
java.lang.String |
getTitle(CronJobHistoryModel cronJobHistory)
Gets title
|
boolean |
isProgressSupported(CronJobHistoryModel cronJobHistory)
Checks if process supports progress bar.
|
boolean |
isRerunApplicable(CronJobHistoryModel cronJobHistory)
Checks if it's possible to rerun given process
|
void |
rerunCronJob(CronJobHistoryModel cronJobHistory)
Reruns given process
|
void |
setCockpitUserService(CockpitUserService cockpitUserService) |
void |
setNotificationService(NotificationService notificationService) |
void |
setSynchronizationFacade(SynchronizationFacade synchronizationFacade) |
getCronJobService, getJobTitle, getLabelService, getOrder, getPermissionCheckingService, isFailed, setCronJobService, setLabelService, setOrder, setPermissionCheckingServicepublic boolean canHandle(CronJobHistoryModel cronJobHistory)
ProcessItemRenderingStrategycanHandle in interface ProcessItemRenderingStrategycanHandle in class DefaultProcessItemRenderingStrategycronJobHistory - cron job history representing a processpublic boolean isRerunApplicable(CronJobHistoryModel cronJobHistory)
ProcessItemRenderingStrategyisRerunApplicable in interface ProcessItemRenderingStrategyisRerunApplicable in class DefaultProcessItemRenderingStrategycronJobHistory - cron job history representing a processpublic void rerunCronJob(CronJobHistoryModel cronJobHistory)
ProcessItemRenderingStrategyrerunCronJob in interface ProcessItemRenderingStrategyrerunCronJob in class DefaultProcessItemRenderingStrategycronJobHistory - cron job history representing a processpublic boolean isProgressSupported(CronJobHistoryModel cronJobHistory)
ProcessItemRenderingStrategyisProgressSupported in interface ProcessItemRenderingStrategyisProgressSupported in class DefaultProcessItemRenderingStrategycronJobHistory - cron job history representing a processpublic java.lang.String getTitle(CronJobHistoryModel cronJobHistory)
ProcessItemRenderingStrategygetTitle in interface ProcessItemRenderingStrategygetTitle in class DefaultProcessItemRenderingStrategycronJobHistory - cron job history representing a processprotected java.lang.String getItemsSyncLabel(CatalogVersionSyncCronJobHistoryModel catalogVersionSyncCronJobHistoryModel)
public CockpitUserService getCockpitUserService()
public void setCockpitUserService(CockpitUserService cockpitUserService)
public SynchronizationFacade getSynchronizationFacade()
public void setSynchronizationFacade(SynchronizationFacade synchronizationFacade)
protected NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
Copyright © 2018 SAP SE. All Rights Reserved.