Class WorkflowDescription
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
ROCrateidentifier
stringproperties
JsonObjectsource
stringdestPath
stringfetchRemote
boolvalidateUrl
bool
Methods
Deserialize(string, ROCrate)
Create a WorkflowDescription from JSON properties.
public static WorkflowDescription? Deserialize(string entityJson, ROCrate roCrate)
Parameters
entityJson
stringThe JSON representing the WorkflowDescription
roCrate
ROCrateThe 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.