Class SchedulerRunDetails
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.AnnotatedEntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.impl.schedule.caesium.SchedulerRunDetails
- All Implemented Interfaces:
NotExportable,Serializable,Cloneable
This is
NotExportable, see CONFDEV-40509.- Since:
- 5.10
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.atlassian.scheduler.status.RunOutcomecharToRunOutcome(char outcome) static SchedulerRunDetailsfromRunDetails(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.status.RunDetails runDetails) longgetJobId()charstatic charrunOutcomeToChar(com.atlassian.scheduler.status.RunOutcome runOutcome) voidsetDuration(long duration) voidvoidsetMessage(String message) voidsetOutcome(char outcome) voidsetStartTime(Date startTime) com.atlassian.scheduler.status.RunDetailsMethods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setLastModifierMethods inherited from class com.atlassian.confluence.core.AnnotatedEntityObject
getCreationDate, getLastModificationDateMethods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCurrentDate, getId, hashCode, setClock, setCreationDate, setId, setLastModificationDate
-
Constructor Details
-
SchedulerRunDetails
public SchedulerRunDetails()
-
-
Method Details
-
fromRunDetails
public static SchedulerRunDetails fromRunDetails(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.status.RunDetails runDetails) -
toRunDetails
public com.atlassian.scheduler.status.RunDetails toRunDetails() -
runOutcomeToChar
public static char runOutcomeToChar(com.atlassian.scheduler.status.RunOutcome runOutcome) -
charToRunOutcome
public static com.atlassian.scheduler.status.RunOutcome charToRunOutcome(char outcome) -
getJobId
-
setJobId
-
getStartTime
-
setStartTime
-
getDuration
public long getDuration() -
setDuration
public void setDuration(long duration) -
getOutcome
public char getOutcome() -
setOutcome
public void setOutcome(char outcome) -
getMessage
-
setMessage
-