Class Job
- Namespace
- Cratis.Chronicle.Jobs
- Assembly
- Cratis.Chronicle.dll
Represents the state of a job.
public class Job
- Inheritance
-
Job
- Inherited Members
- Extension Methods
Constructors
Job(IEventStore)
Represents the state of a job.
public Job(IEventStore eventStore)
Parameters
eventStoreIEventStoreThe IEventStore this job belongs to.
Properties
Created
Gets or sets when job was created.
public DateTimeOffset Created { get; set; }
Property Value
Details
Gets or sets the details for a job.
public JobDetails Details { get; set; }
Property Value
Id
Gets or sets the unique identifier for the job.
public JobId Id { get; set; }
Property Value
Progress
Gets or sets the JobProgress.
public JobProgress Progress { get; set; }
Property Value
Status
Gets or sets the status of the job.
public JobStatus Status { get; set; }
Property Value
StatusChanges
Gets or sets collection of status changes that happened to the job.
public IEnumerable<JobStatusChanged> StatusChanges { get; set; }
Property Value
Type
Gets or sets the type of the job.
public JobType Type { get; set; }
Property Value
Methods
GetJobSteps()
Gets the job steps for this job.
public Task<IEnumerable<JobStep>> GetJobSteps()
Returns
- Task<IEnumerable<JobStep>>
Collection of JobStep.