Class ActivityOptionsUpdate<T>
java.lang.Object
io.temporal.client.ActivityOptionsUpdate<T>
- Type Parameters:
T- type of the option's value
A single change to an activity's options, created from one of the keys on this class via
ActivityOptionsUpdate.ActivityOptionsKey.set(T) or ActivityOptionsUpdate.ActivityOptionsKey.unset().
An option with no update in the call is left untouched.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTyped key for one updatable activity option. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActivityOptionsUpdate.ActivityOptionsKey<Duration> static final ActivityOptionsUpdate.ActivityOptionsKey<Priority> static final ActivityOptionsUpdate.ActivityOptionsKey<RetryOptions> static final ActivityOptionsUpdate.ActivityOptionsKey<Duration> static final ActivityOptionsUpdate.ActivityOptionsKey<Duration> static final ActivityOptionsUpdate.ActivityOptionsKey<Duration> static final ActivityOptionsUpdate.ActivityOptionsKey<Duration> static final ActivityOptionsUpdate.ActivityOptionsKey<String> -
Method Summary
-
Field Details
-
TASK_QUEUE
-
SCHEDULE_TO_CLOSE_TIMEOUT
-
SCHEDULE_TO_START_TIMEOUT
-
START_TO_CLOSE_TIMEOUT
-
HEARTBEAT_TIMEOUT
-
START_DELAY
-
RETRY_OPTIONS
-
PRIORITY
-
-
Method Details
-
getKey
Get the key to set/unset. -
getValue
-
applyTo
public void applyTo(io.temporal.api.activity.v1.ActivityOptions.Builder options) Writes this update onto the request. An unset update writes nothing: it names its path in the field mask but leaves the field absent, which is how the server is told to clear the option. -
toString
-