Show / Hide Table of Contents

Class WorkItemProperties

Contains application properties for work items.

Inheritance
object
FlowModelObject
WorkItemProperties
SQLiteWorkItemPropertiesEntity
Implements
IFlowModelItem
Inherited Members
FlowModelObject.BatchNumber
FlowModelObject.Properties
FlowModelObject.PropertiesContent
FlowModelObject.this[string]
FlowModelObject.UpdateProperties(string)
FlowModelObject.UpdateProperties(FlowModelObject)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DNVGL.One.Compute.Core.JobProperties
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class WorkItemProperties : FlowModelObject, IFlowModelItem

Constructors

View Source

WorkItemProperties()

Initializes a new instance of the WorkItemProperties class.

Declaration
public WorkItemProperties()
See Also
FlowModelObject
IFlowModelItem
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.

See Also
FlowModelObject
IFlowModelItem

Properties

View Source

Id

Gets the item identifier.

Declaration
[DataMember]
public string Id { get; set; }
Property Value
Type Description
string

The identifier.

See Also
FlowModelObject
IFlowModelItem
View Source

JobId

Gets the job identifier.

Declaration
[DataMember]
public string JobId { get; set; }
Property Value
Type Description
string

The job identifier.

See Also
FlowModelObject
IFlowModelItem
View Source

ParentId

Gets the parent identifier.

Declaration
[DataMember]
public string ParentId { get; set; }
Property Value
Type Description
string

The parent identifier.

See Also
FlowModelObject
IFlowModelItem
View Source

ResultStorageType

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

Declaration
[DataMember]
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.

See Also
FlowModelObject
IFlowModelItem
View Source

Tag

Gets the tag.

Declaration
[DataMember]
public string Tag { get; set; }
Property Value
Type Description
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 identifier.

See Also
FlowModelObject
IFlowModelItem
View Source

WorkItemDirectory

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

Declaration
[DataMember]
public string WorkItemDirectory { get; set; }
Property Value
Type Description
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.

See Also
FlowModelObject
IFlowModelItem

Implements

IFlowModelItem

See Also

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