-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolve sonar: class is part of one cycle containing 2 classes
- Loading branch information
zeyu10
committed
Oct 14, 2024
1 parent
19c31bb
commit 113e377
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...versal/src/main/java/com/weibo/rill/flow/olympicene/traversal/DAGOperationsInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.weibo.rill.flow.olympicene.traversal; | ||
|
||
import com.weibo.rill.flow.interfaces.model.task.TaskInfo; | ||
import com.weibo.rill.flow.olympicene.core.model.NotifyInfo; | ||
import com.weibo.rill.flow.olympicene.core.model.dag.DAGInfo; | ||
import com.weibo.rill.flow.olympicene.core.model.dag.DAGInvokeMsg; | ||
import com.weibo.rill.flow.olympicene.core.model.dag.DAGStatus; | ||
import org.apache.commons.lang3.tuple.Pair; | ||
|
||
import java.util.Collection; | ||
import java.util.Map; | ||
|
||
public interface DAGOperationsInterface { | ||
void finishDAG(String executionId, DAGInfo dagInfo, DAGStatus dagStatus, DAGInvokeMsg dagInvokeMsg); | ||
void finishTaskAsync(String executionId, String taskCategory, NotifyInfo notifyInfo, Map<String, Object> output); | ||
void finishTaskSync(String executionId, String taskCategory, NotifyInfo notifyInfo, Map<String, Object> output); | ||
void runTasks(String executionId, Collection<Pair<TaskInfo, Map<String, Object>>> taskInfoToContexts); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters