Package de.hybris.platform.cronjob.jalo
Interface CronJobNotificationTemplateContext
- All Known Implementing Classes:
DefaultCronJobNotificationTemplateContext
public interface CronJobNotificationTemplateContext
Simple interface used by Velocity script to render mail as result of finished job and its significant properties.
- Since:
- 3.1-u7
-
Method Summary
Modifier and TypeMethodDescriptionGets the name of the executed CronJob.Gets the duration of the executed CronJob.Gets the end date of executed CronJob.Gets the resulting state of executed CronJob.Gets the start date of executed CronJob.Gets the final status of the CronJob.
-
Method Details
-
getCronJobName
String getCronJobName()Gets the name of the executed CronJob.- Returns:
- name of CronJob
-
getStartDate
String getStartDate()Gets the start date of executed CronJob.- Returns:
- start date
-
getEndDate
String getEndDate()Gets the end date of executed CronJob.- Returns:
- end date
-
getDuration
String getDuration()Gets the duration of the executed CronJob.- Returns:
- duration
-
getResult
String getResult()Gets the resulting state of executed CronJob. Will be one of ERROR, FAILURE, SUCCESS, UNKNOWN.- Returns:
- result of CronJob
-
getStatus
String getStatus()Gets the final status of the CronJob. Should be one of ABORTED, FINISHED, UNKNOWN.- Returns:
- final status of CronJob
-