com.atlassian.jira.scheduler
Class OfBizRunDetails

java.lang.Object
  extended by com.atlassian.jira.scheduler.OfBizRunDetails
All Implemented Interfaces:
com.atlassian.scheduler.status.RunDetails

public class OfBizRunDetails
extends Object
implements com.atlassian.scheduler.status.RunDetails

Since:
v6.2

Field Summary
 
Fields inherited from interface com.atlassian.scheduler.status.RunDetails
MAXIMUM_MESSAGE_LENGTH
 
Constructor Summary
OfBizRunDetails(Long id, String jobId, Date startTime, com.atlassian.scheduler.status.RunOutcome runOutcome, long durationInMillis, String message)
           
OfBizRunDetails(Long id, String jobId, com.atlassian.scheduler.status.RunDetails runDetails)
           
 
Method Summary
 long getDurationInMillis()
           
 Long getId()
           
 String getJobId()
           
 String getMessage()
           
 com.atlassian.scheduler.status.RunOutcome getRunOutcome()
           
 Date getStartTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OfBizRunDetails

public OfBizRunDetails(Long id,
                       String jobId,
                       com.atlassian.scheduler.status.RunDetails runDetails)

OfBizRunDetails

public OfBizRunDetails(Long id,
                       String jobId,
                       Date startTime,
                       com.atlassian.scheduler.status.RunOutcome runOutcome,
                       long durationInMillis,
                       @Nullable
                       String message)
Method Detail

getId

public Long getId()

getJobId

public String getJobId()

getStartTime

@Nonnull
public Date getStartTime()
Specified by:
getStartTime in interface com.atlassian.scheduler.status.RunDetails

getDurationInMillis

public long getDurationInMillis()
Specified by:
getDurationInMillis in interface com.atlassian.scheduler.status.RunDetails

getRunOutcome

@Nonnull
public com.atlassian.scheduler.status.RunOutcome getRunOutcome()
Specified by:
getRunOutcome in interface com.atlassian.scheduler.status.RunDetails

getMessage

@Nonnull
public String getMessage()
Specified by:
getMessage in interface com.atlassian.scheduler.status.RunDetails

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.