com.baidubce.services.bvw.model.workflow
Class DagModel
java.lang.Object
com.baidubce.services.bvw.model.workflow.DagModel
public class DagModel
- extends Object
The class of workflow param, is a directed acyclic graph(DAG).
DAG contains all of the job stages and the dependencies between them.
DagModel
public DagModel()
of
public static DagModel of(Map<String,StageModel> stages,
Map<String,List<String>> dependencies)
- Construct a dag with stages.
- Parameters:
stages - The stage names and stagesdependencies - The dependencies between stages
- Returns:
- A dag with specified stages
getStages
public Map<String,StageModel> getStages()
setStages
public void setStages(Map<String,StageModel> stages)
getDependencies
public Map<String,List<String>> getDependencies()
setDependencies
public void setDependencies(Map<String,List<String>> dependencies)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2020. All rights reserved.