Table of Contents

Class Workflow

Namespace
ROCrates.Models
Assembly
ROCrates.Net.dll

Legacy workflow, added for completeness.

public class Workflow : ComputationalWorkflow
Inheritance
Workflow
Inherited Members

Constructors

Workflow()

public Workflow()

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

public Workflow(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 Workflow from JSON properties.

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

Parameters

entityJson string

The JSON representing the Workflow

roCrate ROCrate

The RO-Crate for the Workflow

Returns

Workflow

The deserialised Workflow

Serialize()

Convert Workflow to JSON string.

public override string Serialize()

Returns

string

The Workflow as a JSON string.