A configuration item from Dapr's configuration store.
+
Represents a conversation configuration with details about component name,
+ conversation inputs, context identifier, PII scrubbing, and temperature control.
This class is copied from https://github.com/spring-projects/spring-data-keyvalue/blob/ff441439124585042dd0cbff952f977a343444d2/src/main/java/org/springframework/data/keyvalue/repository/query/PredicateQueryCreator.java#L46
because it has private accessors to internal classes, making it impossible to extend or use the original
This requires to be created from scratch to not use predicates, but this is only worth it if we can prove these
abstractions are worth the time.
Waits for an workflow to start running and returns an
- WorkflowInstanceStatus object that contains metadata about the started
+ WorkflowInstanceStatus object that contains metadata about the started
instance and optionally its input, output, and custom status payloads.
Waits for an event to be raised named name and returns a Task that completes when the event is
received or is canceled when timeout expires.
@@ -391,16 +391,16 @@
waitForExternalEvent
Returns:
a new Task that completes when the external event is received or when timeout expires
Throws:
-
com.microsoft.durabletask.TaskCanceledException - if the specified timeout value expires before the event is received
+
io.dapr.durabletask.TaskCanceledException - if the specified timeout value expires before the event is received
Waits for an event to be raised named name and returns a Task that completes when the event is
received or is canceled when timeout expires.
@@ -414,15 +414,15 @@
waitForExternalEvent
Returns:
a new Task that completes when the external event is received or when timeout expires
Throws:
-
com.microsoft.durabletask.TaskCanceledException - if the specified timeout value expires before the event is received
+
io.dapr.durabletask.TaskCanceledException - if the specified timeout value expires before the event is received
Asynchronously invokes an activity by name and with the specified input value and returns a new Task
that completes when the activity completes.
@@ -523,7 +523,7 @@
Asynchronously invokes an activity by name and returns a new Task that completes when the activity
completes. If the activity completes successfully, the returned Task's value will be the activity's
@@ -542,7 +542,7 @@
Returns a new Task that is completed when all the given Tasks complete. If any of the given
Tasks complete with an exception, the returned Task will also complete with an
CompositeTaskFailedException containing details of the first encountered failure.
@@ -640,16 +640,16 @@
allOf
Returns:
the values of the completed Task objects in the same order as the source list
Throws:
-
com.microsoft.durabletask.CompositeTaskFailedException - if the specified timeout value expires before the event is received
+
io.dapr.durabletask.CompositeTaskFailedException - if the specified timeout value expires before the event is received
Returns a new Task that is completed when any of the given Tasks complete. The value of the
new Task is a reference to the completed Task object. If no tasks are provided, returns a
Task that never completes.
@@ -711,7 +711,7 @@
Waits for an workflow to start running and returns an
- WorkflowInstanceStatus object that contains metadata about the started
+ WorkflowInstanceStatus object that contains metadata about the started
instance and optionally its input, output, and custom status payloads.
Waits for an workflow to start running and returns an
- WorkflowInstanceStatus object that contains metadata about the started
+ WorkflowInstanceStatus object that contains metadata about the started
instance and optionally its input, output, and custom status payloads.
A "started" workflow instance is any instance not in the Pending state.
@@ -369,11 +403,11 @@
Gets the failure details, if any, for the failed workflow instance.
This method returns data only if the workflow is in the
- OrchestrationRuntimeStatus.FAILED state,
+ WorkflowFailureDetails failureDetails,
and only if this instance metadata was fetched with the option to include
output data.
@@ -313,7 +270,7 @@
getFailureDetails
isRunning
-
publicbooleanisRunning()
+
booleanisRunning()
Gets a value indicating whether the workflow instance was running at the time
this object was fetched.
@@ -325,14 +282,14 @@
isRunning
isCompleted
-
publicbooleanisCompleted()
+
booleanisCompleted()
Gets a value indicating whether the workflow instance was completed at the
time this object was fetched.
Waits for an workflow to start running and returns an
- WorkflowInstanceStatus object that contains metadata about the started
+ WorkflowInstanceStatus object that contains metadata about the started
instance and optionally its input, output, and custom status payloads.
Returns the enum constant of this type with the specified name.
-The string must match exactly an identifier used to declare an
-enum constant in this type. (Extraneous whitespace characters are
-not permitted.)
-
-
Parameters:
-
name - the name of the enum constant to be returned.
Represents a conversation configuration with details about component name,
+ conversation inputs, context identifier, PII scrubbing, and temperature control.
Waits for an workflow to start running and returns an
- WorkflowInstanceStatus object that contains metadata about the started
+ WorkflowInstanceStatus object that contains metadata about the started
instance and optionally its input, output, and custom status payloads.