Class WorkflowClientOptions

java.lang.Object
io.temporal.client.WorkflowClientOptions

public final class WorkflowClientOptions extends Object
Options for WorkflowClient configuration.
  • Method Details

    • newBuilder

      public static WorkflowClientOptions.Builder newBuilder()
    • newBuilder

      public static WorkflowClientOptions.Builder newBuilder(WorkflowClientOptions options)
    • toBuilder

      public WorkflowClientOptions.Builder toBuilder()
    • getDefaultInstance

      public static WorkflowClientOptions getDefaultInstance()
    • getNamespace

      public String getNamespace()
      Should be non-null on a valid instance
      Returns:
      namespace
    • getDataConverter

      public DataConverter getDataConverter()
    • getInterceptors

      public WorkflowClientInterceptor[] getInterceptors()
    • getIdentity

      public String getIdentity()
      Should be non-null on a valid instance
      Returns:
      identity
    • getBinaryChecksum

      @Deprecated public String getBinaryChecksum()
      Deprecated.
    • getContextPropagators

      public List<ContextPropagator> getContextPropagators()
      Returns:
      the list of context propagators to use with the client.
    • getQueryRejectCondition

      public io.temporal.api.enums.v1.QueryRejectCondition getQueryRejectCondition()
    • getPlugins

      @Experimental public WorkflowClientPlugin[] getPlugins()
      Returns the workflow client plugins configured for this client.

      Plugins that also implement WorkerPlugin are automatically propagated to workers created from this client.

      Returns:
      the array of workflow client plugins, never null
    • getWorkerHeartbeatInterval

      @Experimental public Duration getWorkerHeartbeatInterval()
      Returns the worker heartbeat interval. Defaults to 60 seconds if not configured. A negative duration means heartbeating is explicitly disabled.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object