public class DagModel extends Object
| Constructor and Description |
|---|
DagModel() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getDependencies() |
Map<String,StageModel> |
getStages() |
static DagModel |
of(Map<String,StageModel> stages,
Map<String,List<String>> dependencies)
Construct a dag with stages.
|
void |
setDependencies(Map<String,List<String>> dependencies) |
void |
setStages(Map<String,StageModel> stages) |
String |
toString() |
public static DagModel of(Map<String,StageModel> stages, Map<String,List<String>> dependencies)
stages - The stage names and stagesdependencies - The dependencies between stagespublic Map<String,StageModel> getStages()
public void setStages(Map<String,StageModel> stages)
Copyright © 2022. All rights reserved.