Interface JobFacade
-
- All Superinterfaces:
Comparable<JobFacade>
- All Known Implementing Classes:
JobFacade.AbstractJobFacade
,JobFacade.AuditJob
,JobFacade.EventJob
public interface JobFacade extends Comparable<JobFacade>
this facade encapsulates the Job objects to prevent from the use of deprecated features which are removed in the next major release (4.0.0) of the job events framework
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
JobFacade.AbstractJobFacade
static class
JobFacade.AuditJob
static class
JobFacade.EventJob
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Calendar
getCreated()
String
getCreatedInstance()
Calendar
getFinishedDate()
int
getFinishedProgressStep()
String
getId()
org.apache.sling.event.jobs.Job.JobState
getJobState()
int
getNumberOfRetries()
Calendar
getProcessingStarted()
Calendar
getProgressETA()
String[]
getProgressLog()
int
getProgressStepCount()
Object
getProperty(String name)
<T> T
getProperty(String name, Class<T> type)
<T> T
getProperty(String name, T defaultValue)
Set<String>
getPropertyNames()
String
getQueueName()
String
getResultMessage()
int
getRetryCount()
String
getTargetInstance()
String
getTopic()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getTopic
String getTopic()
-
getId
String getId()
-
getProperty
<T> T getProperty(String name, T defaultValue)
-
getRetryCount
int getRetryCount()
-
getNumberOfRetries
int getNumberOfRetries()
-
getQueueName
String getQueueName()
-
getTargetInstance
String getTargetInstance()
-
getProcessingStarted
Calendar getProcessingStarted()
-
getCreated
Calendar getCreated()
-
getCreatedInstance
String getCreatedInstance()
-
getJobState
org.apache.sling.event.jobs.Job.JobState getJobState()
-
getFinishedDate
Calendar getFinishedDate()
-
getResultMessage
String getResultMessage()
-
getProgressLog
String[] getProgressLog()
-
getProgressStepCount
int getProgressStepCount()
-
getFinishedProgressStep
int getFinishedProgressStep()
-
getProgressETA
Calendar getProgressETA()
-
-