Class JobFacade.AuditJob
- java.lang.Object
-
- com.composum.sling.core.concurrent.JobFacade.AbstractJobFacade
-
- com.composum.sling.core.concurrent.JobFacade.AuditJob
-
- All Implemented Interfaces:
JobFacade
,Comparable<JobFacade>
- Enclosing interface:
- JobFacade
public static class JobFacade.AuditJob extends JobFacade.AbstractJobFacade
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.composum.sling.core.concurrent.JobFacade
JobFacade.AbstractJobFacade, JobFacade.AuditJob, JobFacade.EventJob
-
-
Field Summary
Fields Modifier and Type Field Description @NotNull org.apache.sling.api.resource.Resource
resource
-
Constructor Summary
Constructors Constructor Description AuditJob(@NotNull org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete 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()
protected String
getStringProperty(String name)
String
getTargetInstance()
String
getTopic()
-
Methods inherited from class com.composum.sling.core.concurrent.JobFacade.AbstractJobFacade
compareTo
-
-
-
-
Method Detail
-
getTopic
public String getTopic()
-
getId
public String getId()
-
getProperty
public <T> T getProperty(String name, T defaultValue)
-
getRetryCount
public int getRetryCount()
-
getNumberOfRetries
public int getNumberOfRetries()
-
getQueueName
public String getQueueName()
-
getTargetInstance
public String getTargetInstance()
-
getProcessingStarted
public Calendar getProcessingStarted()
-
getCreated
public Calendar getCreated()
-
getCreatedInstance
public String getCreatedInstance()
-
getJobState
public org.apache.sling.event.jobs.Job.JobState getJobState()
-
getFinishedDate
public Calendar getFinishedDate()
- See Also:
Job.getFinishedDate()
-
getResultMessage
public String getResultMessage()
- See Also:
Job.getResultMessage()
-
getProgressLog
public String[] getProgressLog()
- See Also:
Job.getProgressLog()
-
getProgressStepCount
public int getProgressStepCount()
- See Also:
Job.getProgressStepCount()
-
getFinishedProgressStep
public int getFinishedProgressStep()
- See Also:
Job.getFinishedProgressStep()
-
getProgressETA
public Calendar getProgressETA()
- See Also:
Job.getProgressETA()
-
-