public final class WorkflowSpecification extends AbstractProgramSpecification implements PropertyProvider
Workflow
Constructor and Description |
---|
WorkflowSpecification(String className,
String name,
String description,
Map<String,String> properties,
List<WorkflowNode> nodes,
Map<String,DatasetCreationSpec> localDatasetSpecs,
Map<String,Plugin> plugins) |
Modifier and Type | Method and Description |
---|---|
Map<String,DatasetCreationSpec> |
getLocalDatasetSpecs()
Return the map of local dataset names and associated specifications required for dataset
instance creation.
|
Map<String,WorkflowNode> |
getNodeIdMap()
Return the map of the node id to the
WorkflowNode . |
List<WorkflowNode> |
getNodes()
Return the list of nodes in the
Workflow . |
Map<String,String> |
getProperties()
Returns an immutable Map of all properties.
|
String |
getProperty(String key)
Return the property value of a given key.
|
String |
toString() |
getClassName, getDescription, getName, getPlugins
public Map<String,String> getProperties()
PropertyProvider
getProperties
in interface PropertyProvider
public String getProperty(String key)
PropertyProvider
getProperty
in interface PropertyProvider
key
- for getting specific property value.null
if not such key exists.public List<WorkflowNode> getNodes()
Workflow
.public Map<String,WorkflowNode> getNodeIdMap()
WorkflowNode
.public Map<String,DatasetCreationSpec> getLocalDatasetSpecs()
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.