Class SchedulerRunDetails
java.lang.Object
com.atlassian.core.bean.EntityObject
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.RunOutcome
charToRunOutcome
(char outcome) static SchedulerRunDetails
fromRunDetails
(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.status.RunDetails runDetails) long
getJobId()
char
static char
runOutcomeToChar
(com.atlassian.scheduler.status.RunOutcome runOutcome) void
setDuration
(long duration) void
void
setMessage
(String message) void
setOutcome
(char outcome) void
setStartTime
(Date startTime) com.atlassian.scheduler.status.RunDetails
Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, 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
-