Package io.temporal.activity
Class ActivityOptions
- java.lang.Object
-
- io.temporal.activity.ActivityOptions
-
public final class ActivityOptions extends java.lang.Object
Options used to configure how an activity is invoked.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivityOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ActivityCancellationType
getCancellationType()
java.util.List<ContextPropagator>
getContextPropagators()
static ActivityOptions
getDefaultInstance()
Deprecated.java.time.Duration
getHeartbeatTimeout()
RetryOptions
getRetryOptions()
java.time.Duration
getScheduleToCloseTimeout()
java.time.Duration
getScheduleToStartTimeout()
java.time.Duration
getStartToCloseTimeout()
java.lang.String
getSummary()
java.lang.String
getTaskQueue()
VersioningIntent
getVersioningIntent()
int
hashCode()
boolean
isEagerExecutionDisabled()
static ActivityOptions.Builder
newBuilder()
static ActivityOptions.Builder
newBuilder(ActivityOptions options)
ActivityOptions.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static ActivityOptions.Builder newBuilder()
-
newBuilder
public static ActivityOptions.Builder newBuilder(ActivityOptions options)
-
getDefaultInstance
@Deprecated public static ActivityOptions getDefaultInstance()
Deprecated.
-
getHeartbeatTimeout
public java.time.Duration getHeartbeatTimeout()
-
getScheduleToCloseTimeout
public java.time.Duration getScheduleToCloseTimeout()
-
getScheduleToStartTimeout
public java.time.Duration getScheduleToStartTimeout()
-
getStartToCloseTimeout
public java.time.Duration getStartToCloseTimeout()
-
getTaskQueue
public java.lang.String getTaskQueue()
-
getRetryOptions
public RetryOptions getRetryOptions()
-
getContextPropagators
public java.util.List<ContextPropagator> getContextPropagators()
-
getCancellationType
public ActivityCancellationType getCancellationType()
-
isEagerExecutionDisabled
public boolean isEagerExecutionDisabled()
-
getVersioningIntent
public VersioningIntent getVersioningIntent()
-
getSummary
public java.lang.String getSummary()
-
toBuilder
public ActivityOptions.Builder toBuilder()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-