Table of Contents

Class WorkflowDescription

Namespace
ROCrates.Models
Assembly
ROCrates.Net.dll

Abstract CWL description of the main workflow.

public class WorkflowDescription : ComputationalWorkflow
Inheritance
WorkflowDescription
Inherited Members

Constructors

WorkflowDescription()

public WorkflowDescription()

WorkflowDescription(ROCrate?, string?, JsonObject?, string?, string?, bool, bool)

public WorkflowDescription(ROCrate? crate = null, string? identifier = null, JsonObject? properties = null, string? source = null, string? destPath = null, bool fetchRemote = false, bool validateUrl = false)

Parameters

crate ROCrate
identifier string
properties JsonObject
source string
destPath string
fetchRemote bool
validateUrl bool

Methods

Deserialize(string, ROCrate)

Create a WorkflowDescription from JSON properties.

public static WorkflowDescription? Deserialize(string entityJson, ROCrate roCrate)

Parameters

entityJson string

The JSON representing the WorkflowDescription

roCrate ROCrate

The RO-Crate for the WorkflowDescription

Returns

WorkflowDescription

The deserialised WorkflowDescription

Serialize()

Convert WorkflowDescription to JSON string.

public override string Serialize()

Returns

string

The WorkflowDescription as a JSON string.