Class JobInfo
Job information.
Inherited Members
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class JobInfo
Properties
View SourceClientReference
Gets or sets the client reference.
Declaration
public string ClientReference { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client reference. |
CompletionTime
Gets or sets the completion time.
Declaration
public DateTime CompletionTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime | The completion time (in UTC). |
Remarks
This property is set every time the job status is updated, so its use has been extended beyond its original intention. Now it really reflects the time of last update, which is equivalent to CompletionTime once the Status is terminal.
EnvironmentId
Gets or sets the id of the environment the job executed in.
Declaration
public string EnvironmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The id of the environment the job executed in. |
JobId
Gets or sets the job identifier.
Declaration
public string JobId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The job identifier. |
JobName
Gets or sets the name of the job.
Declaration
public string JobName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the job. |
Message
Gets or sets the message.
Declaration
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The message. |
PoolId
Gets or sets the pool identifier.
Declaration
public string PoolId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The pool identifier. |
Progress
Gets or sets the progress.
Declaration
public double Progress { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The progress. |
Remarks
Progress is defined as a fraction of 1 where 0 = no progress and 1 = complete.
ServiceName
Gets or sets the name of the service.
Declaration
public string ServiceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the service. |
StartTime
Gets or sets the start time.
Declaration
public DateTime StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime | The start time (in UTC). |
Status
Gets or sets the job status.
Declaration
public WorkStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| WorkStatus | The job status. |
TotalComputeSeconds
Gets or sets the accumulated compute time in seconds.
Declaration
public long TotalComputeSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| long | The accumulated compute time in seconds. |
UserId
Gets or sets user id.
Declaration
public string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |