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 SourceGetJobs(String)
Gets the jobs run by the given user.
Declaration
IEnumerable<JobInfo> GetJobs(string userId)
Parameters
Type | Name | Description |
---|---|---|
System.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).
GetJobStatus(String, String)
Gets the job status.
Declaration
JobInfo GetJobStatus(string jobId, string userId = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | jobId | The job id. |
System.String | userId | The user identifier. |
Returns
Type | Description |
---|---|
JobInfo | Job status |