Show / Hide Table of Contents

Class WorkItemProperties

Contains application properties for work items.

Inheritance
System.Object
FlowModelObject
WorkItemProperties
Implements
IFlowModelItem
Inherited Members
FlowModelObject.BatchNumber
FlowModelObject.Properties
FlowModelObject.PropertiesContent
FlowModelObject.Item[String]
FlowModelObject.UpdateProperties(String)
Namespace: DNVGL.One.Compute.Core.JobProperties
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class WorkItemProperties : FlowModelObject, IFlowModelItem

Constructors

View Source

WorkItemProperties()

Initializes a new instance of the WorkItemProperties class.

Declaration
public WorkItemProperties()
View Source

WorkItemProperties(WorkItem)

Initializes a new instance of the WorkItemProperties class.

Declaration
public WorkItemProperties(WorkItem workItem)
Parameters
Type Name Description
WorkItem workItem

The work item.

Properties

View Source

Id

Gets the item identifier.

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String

The identifier.

View Source

JobId

Gets the job identifier.

Declaration
public string JobId { get; set; }
Property Value
Type Description
System.String

The job identifier.

View Source

ParentId

Gets or sets the parent identifier.

Declaration
public string ParentId { get; set; }
Property Value
Type Description
System.String

The parent identifier.

View Source

ResultStorageType

Gets or sets the type of storage results from the work item is stored to.

Declaration
public ResultStorageTypes ResultStorageType { get; set; }
Property Value
Type Description
ResultStorageTypes

The type of storage the results are stored to.

Remarks

An attempt is made to infer this property when the WorkItemProperties are constructed from the WorkItem. If the work item is a WorkUnit, the UserContainer flag is set if the OutputFileSpecifications contains a DestinationSpecification of type BlobDirectorySpecification. Furthermore, the ResultLake flag is set if the OutputFileSpecifications contains a DestinationSpecification of type ResultLakeStorageSpecification.

View Source

Tag

Gets or sets the tag.

Declaration
public string Tag { get; set; }
Property Value
Type Description
System.String

The tag.

Remarks

This is a client specified tag that does not need to be unique. It is used as a recognizable prefix for the job id

View Source

WorkItemDirectory

Gets or sets the path to the work item container directory.

Declaration
public string WorkItemDirectory { get; set; }
Property Value
Type Description
System.String

The work item container directory.

Remarks

If set and ResultStorageType has the UserContainer flag set, this path can be used to locate the result files of this work item in the user container.

Implements

IFlowModelItem

See Also

FlowModelObject
IFlowModelItem
  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.