File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/main/java/io/temporal/samples/hello Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ public static void main(String[] args) {
9393 // Start a workflow execution. Usually this is done from another program.
9494 // Uses task list from the GreetingWorkflow @WorkflowMethod annotation.
9595 GreetingWorkflow workflow = client .newWorkflowStub (GreetingWorkflow .class );
96- // Execute a workflow waiting for it to complete.
96+ // Execute a workflow waiting for it to complete. See {@link
97+ // io.temporal.samples.hello.HelloSignal}
98+ // for an example of starting workflow without waiting synchronously for its result.
9799 String greeting = workflow .getGreeting ("World" );
98100 System .out .println (greeting );
99101 System .exit (0 );
Original file line number Diff line number Diff line change 2323import io .temporal .activity .ActivityMethod ;
2424import io .temporal .client .WorkflowClient ;
2525import io .temporal .client .WorkflowOptions ;
26- import io .temporal .converter .DataConverter ;
27- import io .temporal .converter .JsonDataConverter ;
26+ import io .temporal .common . converter .DataConverter ;
27+ import io .temporal .common . converter .JsonDataConverter ;
2828import io .temporal .proto .common .SearchAttributes ;
2929import io .temporal .proto .common .WorkflowExecution ;
3030import io .temporal .proto .workflowservice .DescribeWorkflowExecutionRequest ;
You can’t perform that action at this time.
0 commit comments