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
public class SchedulerRunDetails extends ConfluenceEntityObject implements NotExportable
This isNotExportable
, see CONFDEV-40509.- Since:
- 5.10
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchedulerRunDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.atlassian.scheduler.status.RunOutcome
charToRunOutcome(char outcome)
static SchedulerRunDetails
fromRunDetails(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.status.RunDetails runDetails)
long
getDuration()
String
getJobId()
String
getMessage()
char
getOutcome()
Date
getStartTime()
static char
runOutcomeToChar(com.atlassian.scheduler.status.RunOutcome runOutcome)
void
setDuration(long duration)
void
setJobId(String jobId)
void
setMessage(String message)
void
setOutcome(char outcome)
void
setStartTime(Date startTime)
com.atlassian.scheduler.status.RunDetails
toRunDetails()
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
-
-
-
-
Method Detail
-
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
public String getJobId()
-
setJobId
public void setJobId(String jobId)
-
getStartTime
public Date getStartTime()
-
setStartTime
public void setStartTime(Date startTime)
-
getDuration
public long getDuration()
-
setDuration
public void setDuration(long duration)
-
getOutcome
public char getOutcome()
-
setOutcome
public void setOutcome(char outcome)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
-