Table of Contents

Class ComputationalWorkflow

Namespace
ROCrates.Models
Assembly
ROCrates.Net.dll

A scientific workflow that was used (or can be used) to analyze or generate files in the RO-Crate.

public class ComputationalWorkflow : File
Inheritance
ComputationalWorkflow
Derived
Inherited Members

Constructors

ComputationalWorkflow()

public ComputationalWorkflow()

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

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

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

Parameters

entityJson string

The JSON representing the ComputationalWorkflow

roCrate ROCrate

The RO-Crate for the ComputationalWorkflow

Returns

ComputationalWorkflow

The deserialised ComputationalWorkflow

Serialize()

Convert ComputationalWorkflow to JSON string.

public override string Serialize()

Returns

string

The ComputationalWorkflow as a JSON string.

_empty()

protected JsonObject _empty()

Returns

JsonObject