public class WorkflowJson extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
description |
String |
name |
String |
notes |
List<ProcessingRuleJson> |
processingRules |
| Constructor and Description |
|---|
WorkflowJson(String name,
String description,
String notes,
List<ProcessingRuleJson> processingRules) |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowJson |
readInputFile(String inputFilepath)
Reads the contents of the file at the specified location and converts them to a WorkflowJson representation
|
static WorkflowJson |
readInputStream(InputStream inputStream)
Reads the the input stream and converts to a WorkflowJson representation
|
com.github.cafdataprocessing.processing.service.client.model.BaseWorkflow |
toApiBaseWorkflow() |
public final String name
public final String description
public final String notes
public final List<ProcessingRuleJson> processingRules
public WorkflowJson(String name, String description, String notes, List<ProcessingRuleJson> processingRules)
public com.github.cafdataprocessing.processing.service.client.model.BaseWorkflow toApiBaseWorkflow()
public static WorkflowJson readInputFile(String inputFilepath) throws IOException, NullPointerException
inputFilepath - Path to the file with WorkflowJson definition.IOException - If unable to convert file contents.NullPointerException - If the inputFilepath argument is nullpublic static WorkflowJson readInputStream(InputStream inputStream) throws IOException, NullPointerException
inputStream - InputStream of a WorkflowJson definition.IOException - If unable to convert file contents.NullPointerException - If the inputStream argument is nullCopyright © 2015–2017 EntIT Software LLC, a Micro Focus company. All rights reserved.