com.atlassian.scheduler
Interface JobRunnerRequest

All Known Implementing Classes:
JobRunnerRequestImpl

@PublicApi
public interface JobRunnerRequest

Represents a request to run a job, providing information such as the job's configuration and intended start time.

Since:
v1.0

Method Summary
 JobConfig getJobConfig()
          Returns the job's configuration, such as its schedule and parameters.
 JobId getJobId()
          Returns the job ID that was used to schedule this job.
 Date getStartTime()
          Returns the time at which the job was started.
 

Method Detail

getStartTime

@Nonnull
Date getStartTime()
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().

Returns:
the time at which the job was started.

getJobId

@Nonnull
JobId getJobId()
Returns the job ID that was used to schedule this job.

Returns:
the job ID that was used to schedule this job.

getJobConfig

@Nonnull
JobConfig getJobConfig()
Returns the job's configuration, such as its schedule and parameters.

Returns:
the job's configuration


Copyright © 2014 Atlassian. All Rights Reserved.