Interface IJobStatusService
Service for setting and retrieving job status info.
Namespace: DNVGL.One.Compute.Core.JobStatus
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IJobStatusService
Methods
View SourceGetJobStatus(string, string)
Gets the job status.
Declaration
JobInfo GetJobStatus(string jobId, string userId = null)
Parameters
Type | Name | Description |
---|---|---|
string | jobId | The job id. |
string | userId | The user identifier. |
Returns
Type | Description |
---|---|
JobInfo | Job status. |
GetJobs(string)
Gets the jobs run by the given user.
Declaration
IEnumerable<JobInfo> GetJobs(string userId)
Parameters
Type | Name | Description |
---|---|---|
string | userId | The user identifier. |
Returns
Type | Description |
---|---|
IEnumerable<JobInfo> | JobInfo for the jobs run by the given user with user id = |
Remarks
All registered jobs are returned (not sorted).