Skip to content

Commit df496ce

Browse files
authored
Move output from WorkflowInstanceData to WorkflowInstance (#1358)
Signed-off-by: fjtirado <ftirados@redhat.com>
1 parent b6c7557 commit df496ce

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎impl/core/src/main/java/io/serverlessworkflow/impl/WorkflowInstance.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
public interface WorkflowInstance extends WorkflowInstanceData {
2121
CompletableFuture<WorkflowModel> start();
2222

23+
WorkflowModel output();
24+
25+
<T> T outputAs(Class<T> clazz);
26+
2327
boolean suspend();
2428

2529
boolean cancel();

‎impl/core/src/main/java/io/serverlessworkflow/impl/WorkflowInstanceData.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,5 @@ public interface WorkflowInstanceData {
2828

2929
WorkflowStatus status();
3030

31-
WorkflowModel output();
32-
3331
WorkflowModel context();
34-
35-
<T> T outputAs(Class<T> clazz);
3632
}

0 commit comments

Comments
 (0)