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