com.atlassian.scheduler.core.impl
Class JobRunnerRequestImpl
java.lang.Object
com.atlassian.scheduler.core.impl.JobRunnerRequestImpl
- All Implemented Interfaces:
- JobRunnerRequest
@Immutable
public final class JobRunnerRequestImpl
- extends Object
- implements JobRunnerRequest
- Since:
- v1.0
JobRunnerRequestImpl
public JobRunnerRequestImpl(@Nonnull
Date startTime,
@Nonnull
JobId jobId,
@Nonnull
JobConfig jobConfig)
getStartTime
@Nonnull
public Date getStartTime()
- Description copied from interface:
JobRunnerRequest
- Returns the time at which the job was started. When this job completes, the
RunDetails that stores the
result will use this exact time for RunDetails.getStartTime().
- Specified by:
getStartTime in interface JobRunnerRequest
- Returns:
- the time at which the job was started.
getJobId
@Nonnull
public JobId getJobId()
- Description copied from interface:
JobRunnerRequest
- Returns the job ID that was used to schedule this job.
- Specified by:
getJobId in interface JobRunnerRequest
- Returns:
- the job ID that was used to schedule this job.
getJobConfig
@Nonnull
public JobConfig getJobConfig()
- Description copied from interface:
JobRunnerRequest
- Returns the job's configuration, such as its schedule and parameters.
- Specified by:
getJobConfig in interface JobRunnerRequest
- Returns:
- the job's configuration
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 Atlassian. All Rights Reserved.