.NET API
JobItemRecord
Tracon.Abstractions.dllA single input of a batch job and that input’s processing result.
public sealed record JobItemRecord : IEquatable<JobItemRecord>- Inheritance
- object ← JobItemRecord
- Implements
- IEquatable<JobItemRecord>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”JobItemRecord()
Section titled “ JobItemRecord()”public JobItemRecord()Properties
Section titled “Properties”The failure message. Populated only for JobItemStatus.Failed.
public string? Error { get; init; }Property Value
Section titled “Property Value”The item identifier.
public required Guid Id { get; init; }Property Value
Section titled “Property Value”This item’s input text.
public required string Input { get; init; }Property Value
Section titled “Property Value”The identifier of the job it belongs to.
public required Guid JobId { get; init; }Property Value
Section titled “Property Value”The identifier of the run record created while processing this item. null if the item has not been processed yet.
public Guid? RunId { get; init; }Property Value
Section titled “Property Value”Guid?
Remarks
Section titled “Remarks”A JobItemStatus.Pending item can carry a value too. A handler
that can resume interrupted work writes the run identifier on the item
BEFORE the run starts (a report with JobItemStatus.Pending),
so a job leased again finds the run the item was processing. The built-in
workflow handler does this when TraconWorkflowOptions.ResumeInterruptedRuns
is on. When the item finishes, the value names the run that finished it.
The sequence number within the job (starts at 0).
public required int Seq { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”The item’s processing status.
public required JobItemStatus Status { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(JobItemRecord?)
Section titled “ Equals(JobItemRecord?)”public bool Equals(JobItemRecord? other)Parameters
Section titled “Parameters”other JobItemRecord?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(JobItemRecord?, JobItemRecord?)
Section titled “ operator ==(JobItemRecord?, JobItemRecord?)”public static bool operator ==(JobItemRecord? left, JobItemRecord? right)Parameters
Section titled “Parameters”left JobItemRecord?
right JobItemRecord?
Returns
Section titled “Returns”operator !=(JobItemRecord?, JobItemRecord?)
Section titled “ operator !=(JobItemRecord?, JobItemRecord?)”public static bool operator !=(JobItemRecord? left, JobItemRecord? right)Parameters
Section titled “Parameters”left JobItemRecord?
right JobItemRecord?