Interface IJobPropertiesService
Service for storing and retrieving application properties for a job
Namespace: DNVGL.One.Compute.Core.JobProperties
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IJobPropertiesService
Methods
View SourceGetJobPropertiesAsync(String)
Gets the properties for a given job.
Declaration
Task<JobProperties> GetJobPropertiesAsync(string jobId)
Parameters
Type | Name | Description |
---|---|---|
System.String | jobId | The job identifier. |
Returns
Type | Description |
---|---|
Task<JobProperties> | Properties for the job |
GetWorkItemProperties(String)
Gets the properties for all work items in the job.
Declaration
Task<IEnumerable<WorkItemProperties>> GetWorkItemProperties(string jobId)
Parameters
Type | Name | Description |
---|---|---|
System.String | jobId | The job identifier. |
Returns
Type | Description |
---|---|
Task<IEnumerable<WorkItemProperties>> | A collection of WorkItemProperties |
GetWorkItemProperties(String, String)
Gets the properties for a specified work item in the given job.
Declaration
Task<WorkItemProperties> GetWorkItemProperties(string jobId, string workItemId)
Parameters
Type | Name | Description |
---|---|---|
System.String | jobId | The job identifier. |
System.String | workItemId | The work item identifier. |
Returns
Type | Description |
---|---|
Task<WorkItemProperties> | WorkItemProperties for the given |
SaveJobPropertiesAsync(Job)
Saves the job properties.
Declaration
Task SaveJobPropertiesAsync(Job job)
Parameters
Type | Name | Description |
---|---|---|
Job | job | The job. |
Returns
Type | Description |
---|---|
Task | Async task |