类 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()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Map<String,List<String>>getDependencies()Map<String,StageModel>getStages()static DagModelof(Map<String,StageModel> stages, Map<String,List<String>> dependencies)Construct a dag with stages.voidsetDependencies(Map<String,List<String>> dependencies)voidsetStages(Map<String,StageModel> stages)StringtoString()
-
-
-
方法详细资料
-
of
public static DagModel of(Map<String,StageModel> stages, Map<String,List<String>> dependencies)
Construct a dag with stages.- 参数:
stages- The stage names and stagesdependencies- The dependencies between stages- 返回:
- A dag with specified stages
-
getStages
public Map<String,StageModel> getStages()
-
setStages
public void setStages(Map<String,StageModel> stages)
-
-