A B C D E F G H I J L M N O R S T U V W 
All Classes All Packages

A

addVariable(String, Object) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Defines a Variable in the `ThreadSpec` and returns a handle to it.
API_HOST_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
The bootstrap host for the LH Server.
API_PORT_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
The bootstrap port for the LH Server.
API_PROTOCOL_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
The bootstrap protocol for the LH Server.
applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials.MetadataApplier) - Method in class io.littlehorse.sdk.common.auth.OAuthCredentialsProvider
 
applyRequestMetadata(CallCredentials.RequestInfo, Executor, CallCredentials.MetadataApplier) - Method in class io.littlehorse.sdk.common.auth.TenantMetadataProvider
 
as(VariableValue, Class<T>) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to a deserialized Json object.
asBoolean(VariableValue) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to a Boolean.
asBytes(VariableValue) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to bytes.
asDouble(VariableValue) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to a Double.
asInt(VariableValue) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to an Integer.
asList(VariableValue, Class<T>) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to a Collection of deserialized Json objects.
asLong(VariableValue) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to a Long.
assignUserTask(String, Object, Object) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a User Task Node, and assigns it to a specific user
asString(VariableValue) - Static method in class io.littlehorse.sdk.common.LHVariableMapper
Converts a VariableValue to String.
AuthorizationServerException - Exception in io.littlehorse.sdk.common.auth
 
AuthorizationServerException(String) - Constructor for exception io.littlehorse.sdk.common.auth.AuthorizationServerException
 
AuthorizationServerException(Throwable) - Constructor for exception io.littlehorse.sdk.common.auth.AuthorizationServerException
 

B

body(WorkflowThread) - Method in interface io.littlehorse.sdk.wfsdk.IfElseBody
This is the body of Workflow Code.
buildNode() - Method in interface io.littlehorse.sdk.wfsdk.SpawnedThreads
 

C

CA_CERT_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
Optional location of CA Cert File.
cancelUserTaskRunAfter(UserTaskOutput, Serializable) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Cancels a User Task Run if it exceeds a specified deadline.
cancelUserTaskRunAfterAssignment(UserTaskOutput, Serializable) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Cancels a User Task Run if it exceeds a specified deadline after it is assigned
CLIENT_CERT_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
Optional location of Client Cert file.
CLIENT_KEY_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
Optional location of Client Private Key File.
close() - Method in class io.littlehorse.sdk.worker.LHTaskWorker
Cleanly shuts down the Task Worker.
compile() - Method in class io.littlehorse.sdk.usertask.UserTaskSchema
 
compileAndSaveToDisk(String) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Writes out the PutWfSpecRequest in JSON form in a directory.
compileWfToJson() - Method in class io.littlehorse.sdk.wfsdk.Workflow
Returns the associated PutWfSpecRequest in JSON form.
compileWorkflow() - Method in class io.littlehorse.sdk.wfsdk.Workflow
Compiles this Workflow into a `WfSpec`.
complete() - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds an EXIT node with no Failure defined.
condition(Object, Comparator, Object) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Returns a WorkflowCondition that can be used in `ThreadBuilder::doIf()` or `ThreadBuilder::doElse()`.
configNames() - Static method in class io.littlehorse.sdk.common.config.LHConfig
Returns a set of all config names.

D

DEFAULT_PROTOCOL - Static variable in class io.littlehorse.sdk.common.config.LHConfig
 
DEFAULT_PUBLIC_LISTENER - Static variable in class io.littlehorse.sdk.common.config.LHConfig
 
description() - Method in annotation type io.littlehorse.sdk.usertask.annotations.UserTaskField
 
displayName() - Method in annotation type io.littlehorse.sdk.usertask.annotations.UserTaskField
 
doesTaskDefExist() - Method in class io.littlehorse.sdk.worker.LHTaskWorker
Checks if the TaskDef exists
doesWfSpecExist(LittleHorseGrpc.LittleHorseBlockingStub) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Checks if the WfSpec exists
doesWfSpecExist(LittleHorseGrpc.LittleHorseBlockingStub, Integer) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Checks if the WfSpec exists for a given version
doIf(WorkflowCondition, IfElseBody) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Conditionally executes some workflow code; equivalent to an if() statement in programming.
doIfElse(WorkflowCondition, IfElseBody, IfElseBody) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Conditionally executes one of two workflow code branches; equivalent to an if/else statement in programming.
doWhile(WorkflowCondition, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Conditionally executes some workflow code; equivalent to an while() statement in programming.

E

execute(LHFormatString, Serializable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a TASK node to the ThreadSpec.
execute(WfRunVariable, Serializable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a TASK node to the ThreadSpec.
execute(String, Serializable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a TASK node to the ThreadSpec.

F

fail(Object, String, String) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds an EXIT node with a Failure defined.
fail(String, String) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds an EXIT node with a Failure defined.
format(String, WfRunVariable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Creates a formatted string using WfRunVariables as arguments.

G

getAccessToken() - Method in class io.littlehorse.sdk.common.auth.OAuthClient
 
getApiBootstrapHost() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
getApiBootstrapPort() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
getApiProtocol() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
getAsyncStub() - Method in class io.littlehorse.sdk.common.config.LHConfig
Gets an Async gRPC stub for the LH Public API on the configured host/port, which is generally the loadbalancer url.
getAsyncStub(String, int) - Method in class io.littlehorse.sdk.common.config.LHConfig
Gets an Async gRPC stub for the LH Public API on a specified host and port.
getAttemptNumber() - Method in class io.littlehorse.sdk.worker.WorkerContext
Returns the attemptNumber of the NodeRun that's being executed.
getBlockingStub() - Method in class io.littlehorse.sdk.common.config.LHConfig
Gets a Blocking gRPC stub for the LH Public API on the configured host/port, which is generally the loadbalancer url.
getBlockingStub(String, int) - Method in class io.littlehorse.sdk.common.config.LHConfig
Gets a Blocking gRPC stub for the LH Public API on a specified host and port.
getConnectListener() - Method in class io.littlehorse.sdk.common.config.LHConfig
Returns the name of the listener to connect to.
getDefaultTaskTimeout() - Method in class io.littlehorse.sdk.wfsdk.Workflow
Returns the default task timeout, or null if it is not set.
getIdempotencyKey() - Method in class io.littlehorse.sdk.worker.WorkerContext
Returns an idempotency key that can be used to make calls to upstream api's idempotent across TaskRun Retries.
getKeepaliveTimeMs() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
getKeepaliveTimeoutMs() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
getLogOutput() - Method in class io.littlehorse.sdk.worker.WorkerContext
Returns the current logOutput.
getName() - Method in class io.littlehorse.sdk.wfsdk.Workflow
Gets the workflow name passed at Workflow.newWorkflow(String, ThreadFunc)
getNodeRunId() - Method in class io.littlehorse.sdk.worker.WorkerContext
Returns the NodeRun ID for the Task that was just scheduled.
getRequiredExternalEventDefNames() - Method in class io.littlehorse.sdk.wfsdk.Workflow
Returns the names of all `ExternalEventDef`s used by this workflow.
getRequiredTaskDefNames() - Method in class io.littlehorse.sdk.wfsdk.Workflow
Returns the names of all `TaskDef`s used by this workflow.
getScheduledTime() - Method in class io.littlehorse.sdk.worker.WorkerContext
Returns the time at which the task was scheduled by the processor.
getTaskDef(String) - Method in class io.littlehorse.sdk.common.config.LHConfig
Gets the `TaskDefPb` for a given taskDefName.
getTaskDefName() - Method in class io.littlehorse.sdk.worker.LHTaskWorker
`TaskDef` to execute
getTaskRunId() - Method in class io.littlehorse.sdk.worker.WorkerContext
Returns the TaskRunId of this TaskRun.
getTaskWorkerId() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
getTaskWorkerVersion() - Method in class io.littlehorse.sdk.common.config.LHConfig
Returns the TaskWorker Version of this worker.
getTenantId() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
getThreadNumberVariable() - Method in interface io.littlehorse.sdk.wfsdk.SpawnedThread
 
getUserGroup() - Method in class io.littlehorse.sdk.worker.WorkerContext
If this TaskRun is a User Task Reminder TaskRun, then this method returns the UserGroup that the associated UserTask is assigned to.
getUserId() - Method in class io.littlehorse.sdk.worker.WorkerContext
If this TaskRun is a User Task Reminder TaskRun, then this method returns the UserId of the user who the associated UserTask is assigned to.
getWfRunId() - Method in class io.littlehorse.sdk.worker.WorkerContext
Returns the Id of the WfRun for the NodeRun that's being executed.
getWorkerThreads() - Method in class io.littlehorse.sdk.common.config.LHConfig
Returns the number of worker threads to run.
GRPC_KEEPALIVE_TIME_MS_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
GRPC Connection Keepalive Interval
GRPC_KEEPALIVE_TIMEOUT_MS_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
GRPC Connection Keepalive Interval

H

handleAnyFailure(NodeOutput, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Attaches an Failure Handler to the specified NodeOutput, allowing it to manage any types of errors or exceptions.
handleAnyFailureOnChild(ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WaitForThreadsNodeOutput
Specifies a Failure Handler to run in case any of the ThreadRun's that we are waiting for in this WaitForThreadsNode fails with any Failure.
handleError(NodeOutput, LHErrorType, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Attaches an Error Handler to the specified NodeOutput, allowing it to manage specific types of errors as defined by the 'error' parameter.
handleError(NodeOutput, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Attaches an Error Handler to the specified NodeOutput, allowing it to manage any types of errors.
handleErrorOnChild(LHErrorType, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WaitForThreadsNodeOutput
Specifies a Failure Handler to run in case any of the ThreadRun's that we are waiting for in this WaitForThreadsNode fails with a specific ERROR.
handleException(NodeOutput, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Attaches an Exception Handler to the specified NodeOutput, enabling it to handle any types of exceptions.
handleException(NodeOutput, String, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Attaches an Exception Handler to the specified NodeOutput, enabling it to handle specific types of exceptions as defined by the 'exceptionName' parameter.
handleExceptionOnChild(String, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WaitForThreadsNodeOutput
Specifies a Failure Handler to run in case any of the ThreadRun's that we are waiting for in this WaitForThreadsNode fails with a specific EXCEPTION.
HANDLER_INPUT_VAR - Static variable in interface io.littlehorse.sdk.wfsdk.WorkflowThread
This is the reserved Variable Name that can be used as a WfRunVariable in an Interrupt Handler or Exception Handler thread.
healthStatus() - Method in class io.littlehorse.sdk.worker.LHTaskWorker
 
HEALTHY - io.littlehorse.sdk.worker.LHTaskWorkerHealthReason
 

I

IfElseBody - Interface in io.littlehorse.sdk.wfsdk
Functional interface representing a body of Workflow code to be executed inside an if or else condition.
io.littlehorse.sdk.common - package io.littlehorse.sdk.common
 
io.littlehorse.sdk.common.auth - package io.littlehorse.sdk.common.auth
 
io.littlehorse.sdk.common.config - package io.littlehorse.sdk.common.config
 
io.littlehorse.sdk.usertask - package io.littlehorse.sdk.usertask
 
io.littlehorse.sdk.usertask.annotations - package io.littlehorse.sdk.usertask.annotations
 
io.littlehorse.sdk.wfsdk - package io.littlehorse.sdk.wfsdk
 
io.littlehorse.sdk.worker - package io.littlehorse.sdk.worker
 
isOauth() - Method in class io.littlehorse.sdk.common.config.LHConfig
 
isValid() - Method in class io.littlehorse.sdk.common.auth.TokenStatus
 

J

javaTypeToLHType - Static variable in class io.littlehorse.sdk.worker.LHTaskWorker
 
jsonPath(String) - Method in interface io.littlehorse.sdk.wfsdk.NodeOutput
Valid only for output of the JSON_OBJ or JSON_ARR types.
jsonPath(String) - Method in interface io.littlehorse.sdk.wfsdk.WfRunVariable
Valid only for output of the JSON_OBJ or JSON_ARR types.

L

LHConfig - Class in io.littlehorse.sdk.common.config
This class is used to configure the LHClient class.
LHConfig() - Constructor for class io.littlehorse.sdk.common.config.LHConfig
Creates an LHClientConfig.
LHConfig(String) - Constructor for class io.littlehorse.sdk.common.config.LHConfig
Creates an LHClientConfig with config props in a specified .properties file.
LHConfig(Path) - Constructor for class io.littlehorse.sdk.common.config.LHConfig
Creates an LHClientConfig with config props in a specified .properties file.
LHConfig(Map<String, Object>) - Constructor for class io.littlehorse.sdk.common.config.LHConfig
Creates an LHClientConfig with provided config values.
LHConfig(Properties) - Constructor for class io.littlehorse.sdk.common.config.LHConfig
Creates an LHClientConfig with provided config values.
LHFormatString - Interface in io.littlehorse.sdk.wfsdk
 
LHTaskMethod - Annotation Type in io.littlehorse.sdk.worker
Annotation used to indicate that the annotated method should be used as the method to execute a Task in the LH Java Task Worker library.
LHTaskWorker - Class in io.littlehorse.sdk.worker
The LHTaskWorker talks to the LH Servers and executes a specified Task Method every time a Task is scheduled.
LHTaskWorker(Object, String, LHConfig) - Constructor for class io.littlehorse.sdk.worker.LHTaskWorker
Creates an LHTaskWorker given an Object that has an annotated LHTaskMethod, and a configuration Properties object.
LHTaskWorker(Object, String, LHConfig, Map<String, String>) - Constructor for class io.littlehorse.sdk.worker.LHTaskWorker
Creates an LHTaskWorker given an Object that has an annotated LHTaskMethod, and a configuration Properties object.
LHTaskWorker(Object, String, Map<String, String>, LHConfig, LHServerConnectionManager) - Constructor for class io.littlehorse.sdk.worker.LHTaskWorker
 
LHTaskWorkerHealth - Class in io.littlehorse.sdk.worker
 
LHTaskWorkerHealth() - Constructor for class io.littlehorse.sdk.worker.LHTaskWorkerHealth
 
LHTaskWorkerHealthReason - Enum in io.littlehorse.sdk.worker
 
LHVariableMapper - Class in io.littlehorse.sdk.common
Utility class to transform LittleHorse objects into Java objects
log(Object) - Method in class io.littlehorse.sdk.worker.WorkerContext
Provides a way to push data into the log output.

M

mutate(WfRunVariable, VariableMutationType, Object) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a VariableMutation to the last Node

N

newWorkflow(String, ThreadFunc) - Static method in class io.littlehorse.sdk.wfsdk.Workflow
Creates a new Workflow with the provided name and entrypoint thread function.
NodeOutput - Interface in io.littlehorse.sdk.wfsdk
`NodeOutput` represents the output of a Node execution.
NUM_WORKER_THREADS_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
The number of worker threads to run.

O

OAUTH_ACCESS_TOKEN_URL - Static variable in class io.littlehorse.sdk.common.config.LHConfig
 
OAUTH_CLIENT_ID_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
 
OAUTH_CLIENT_SECRET_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
 
OAuthClient - Class in io.littlehorse.sdk.common.auth
 
OAuthClient(OAuthConfig) - Constructor for class io.littlehorse.sdk.common.auth.OAuthClient
 
OAuthConfig - Class in io.littlehorse.sdk.common.auth
 
OAuthConfig() - Constructor for class io.littlehorse.sdk.common.auth.OAuthConfig
 
OAuthCredentialsProvider - Class in io.littlehorse.sdk.common.auth
 
OAuthCredentialsProvider(OAuthClient) - Constructor for class io.littlehorse.sdk.common.auth.OAuthCredentialsProvider
 
of(SpawnedThread...) - Static method in interface io.littlehorse.sdk.wfsdk.SpawnedThreads
 

R

reassignUserTask(UserTaskOutput, Object, Object, Object) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Schedules the reassignment of a User Task to a specified userId and/or userGroup after a specified expiration.
registerInterruptHandler(String, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Registers an Interrupt Handler, such that when an ExternalEvent arrives with the specified type, this ThreadRun is interrupted.
registerTaskDef() - Method in class io.littlehorse.sdk.worker.LHTaskWorker
Deploys the TaskDef object to the LH Server.
registerWfSpec(LittleHorseGrpc.LittleHorseBlockingStub) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Deploys the WfSpec object to the LH Server.
releaseToGroupOnDeadline(UserTaskOutput, Object) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Schedule Reassignment of a UserTask to a userGroup upon reaching the Deadline.
required() - Method in annotation type io.littlehorse.sdk.usertask.annotations.UserTaskField
 
required() - Method in interface io.littlehorse.sdk.wfsdk.WfRunVariable
Marks the variable as "Required", meaning that the ThreadSpec cannot be started without this variable being provided as input.

S

scheduleReminderTask(UserTaskOutput, int, String, Serializable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a Reminder Task to a User Task Node.
scheduleReminderTask(UserTaskOutput, WfRunVariable, String, Serializable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a Reminder Task to a User Task Node.
scheduleReminderTaskOnAssignment(UserTaskOutput, int, String, Serializable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a task reminder once a user is assigned to the UserTask.
scheduleReminderTaskOnAssignment(UserTaskOutput, WfRunVariable, String, Serializable...) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a task reminder once a user is assigned to UserTask.
searchable() - Method in interface io.littlehorse.sdk.wfsdk.WfRunVariable
Marks the Variable as "Searchable", which: - Creates an Index on the Variable in the LH Data Store - Due to the fact that the Variable is now Searchable, all future WfSpec versions must use the same Type for this Variable.
searchableOn(String, VariableType) - Method in interface io.littlehorse.sdk.wfsdk.WfRunVariable
Marks the JSON_OBJ or JSON_ARR Variable as "Searchable", and creates an index on the specified field.
SERVER_CONNECT_LISTENER_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
Listener to connect to.
SERVER_REBALANCING - io.littlehorse.sdk.worker.LHTaskWorkerHealthReason
 
setDefaultTaskExponentialBackoffPolicy(ExponentialBackoffRetryPolicy) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Tells the Workflow to configure (by default) the specified ExponentialBackoffRetryPolicy as the retry policy.
setDefaultTaskRetries(int) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Tells the Workflow to configure (by default) a Simple Retry Policy for every Task Node.
setDefaultTaskTimeout(int) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Sets the default timeout for all TaskRun's in this workflow.
setParent(String) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Makes this a child workflow.
sleepSeconds(Object) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a SLEEP node which makes the ThreadRun sleep for a specified number of seconds.
sleepUntil(WfRunVariable) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a SLEEP node which makes the ThreadRun sleep until a specified timestamp, provided as an INT WfRunVariable (note that INT in LH is a 64-bit integer).
SpawnedThread - Interface in io.littlehorse.sdk.wfsdk
This is the output of `ThreadBuilder::spawnThread()`.
SpawnedThreads - Interface in io.littlehorse.sdk.wfsdk
 
spawnThread(ThreadFunc, String, Map<String, Object>) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a SPAWN_THREAD node to the ThreadSpec, which spawns a Child ThreadRun whose ThreadSpec is determined by the provided ThreadFunc.
spawnThreadForEach(WfRunVariable, String, ThreadFunc) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Given a WfRunVariable of type JSON_ARR, this function iterates over each object in that list and creates a Child ThreadRun for each item.
spawnThreadForEach(WfRunVariable, String, ThreadFunc, Map<String, Object>) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Given a WfRunVariable of type JSON_ARR, this function iterates over each object in that list and creates a Child ThreadRun for each item.
start() - Method in class io.littlehorse.sdk.worker.LHTaskWorker
Starts polling for and executing tasks.

T

TASK_WORKER_ID_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
The Client Id.
TASK_WORKER_VERSION_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
 
TaskNodeOutput - Interface in io.littlehorse.sdk.wfsdk
 
TENANT_ID_KEY - Static variable in class io.littlehorse.sdk.common.config.LHConfig
The Tenant Id for this client, null will be used if not set
TenantMetadataProvider - Class in io.littlehorse.sdk.common.auth
 
TenantMetadataProvider(String) - Constructor for class io.littlehorse.sdk.common.auth.TenantMetadataProvider
 
ThreadFunc - Interface in io.littlehorse.sdk.wfsdk
A ThreadFunc is the interface an object must implement in order to define a `ThreadSpec` programmatically using the Java Library.
threadFunction(WorkflowThread) - Method in interface io.littlehorse.sdk.wfsdk.ThreadFunc
This function defines the logic of a `ThreadSpec`.
throwEvent(String, Serializable) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
EXPERIMENTAL: Makes the active ThreadSpec throw a WorkflowEvent with a specific WorkflowEventDef and provided content.
timeout(int) - Method in interface io.littlehorse.sdk.wfsdk.NodeOutput
Adds a timeout to a Node.
TokenStatus - Class in io.littlehorse.sdk.common.auth
 
TokenStatus(String, Instant, String, String, boolean) - Constructor for class io.littlehorse.sdk.common.auth.TokenStatus
 

U

UNHEALTHY - io.littlehorse.sdk.worker.LHTaskWorkerHealthReason
 
UserTaskField - Annotation Type in io.littlehorse.sdk.usertask.annotations
 
UserTaskOutput - Interface in io.littlehorse.sdk.wfsdk
 
UserTaskSchema - Class in io.littlehorse.sdk.usertask
 
UserTaskSchema(Object, String) - Constructor for class io.littlehorse.sdk.usertask.UserTaskSchema
 

V

value() - Method in annotation type io.littlehorse.sdk.worker.LHTaskMethod
This is the value of the annotation; it corresponds to the name of the TaskDef executed by the annotated Method.
valueOf(String) - Static method in enum io.littlehorse.sdk.worker.LHTaskWorkerHealthReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.littlehorse.sdk.worker.LHTaskWorkerHealthReason
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForEvent(String) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds an EXTERNAL_EVENT node which blocks until an 'ExternalEvent' of the specified type arrives.
waitForThreads(SpawnedThreads) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Adds a WAIT_FOR_THREAD node which waits for a Child ThreadRun to complete.
WaitForThreadsNodeOutput - Interface in io.littlehorse.sdk.wfsdk
The `WaitForThreadsNodeOutput` interface represents a specialized NodeOutput used to manage parallel thread executions and control their behavior during workflow execution.
WfRunVariable - Interface in io.littlehorse.sdk.wfsdk
A WfRunVariable is a handle on a Variable in a WfSpec.
withAccessLevel(WfRunVariableAccessLevel) - Method in interface io.littlehorse.sdk.wfsdk.WfRunVariable
Sets the access level of a WfRunVariable.
withDefaultThreadRetentionPolicy(ThreadRetentionPolicy) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Sets the retention policy for all ThreadRun's belong to this WfSpec.
withExponentialBackoff(ExponentialBackoffRetryPolicy) - Method in interface io.littlehorse.sdk.wfsdk.TaskNodeOutput
Overrides defaults from the Workflow or WorkflowThread and configures an Exponential Backoff Retry Policy for this TaskNode.
withNotes(LHFormatString) - Method in interface io.littlehorse.sdk.wfsdk.UserTaskOutput
 
withNotes(WfRunVariable) - Method in interface io.littlehorse.sdk.wfsdk.UserTaskOutput
 
withNotes(String) - Method in interface io.littlehorse.sdk.wfsdk.UserTaskOutput
 
withOnCancellationException(WfRunVariable) - Method in interface io.littlehorse.sdk.wfsdk.UserTaskOutput
 
withOnCancellationException(String) - Method in interface io.littlehorse.sdk.wfsdk.UserTaskOutput
 
withRetentionPolicy(ThreadRetentionPolicy) - Method in interface io.littlehorse.sdk.wfsdk.WorkflowThread
Overrides the retention policy for all ThreadRun's of this ThreadSpec in the WfRun.
withRetentionPolicy(WorkflowRetentionPolicy) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Sets the retention policy for all WfRun's created by this WfSpec.
withRetries(int) - Method in interface io.littlehorse.sdk.wfsdk.TaskNodeOutput
Overrides defaults from the Workflow or WorkflowThread and configures simple retries with no delay on this TaskNode.
withUpdateType(AllowedUpdateType) - Method in class io.littlehorse.sdk.wfsdk.Workflow
Defines the type of update to perform when saving the WfSpec: AllowedUpdateType.ALL (Default): Creates a new WfSpec with a different version (either major or revision).
WorkerContext - Class in io.littlehorse.sdk.worker
This class contains runtime information about the specific WfRun and NodeRun that is being executed by the Task Worker.
WorkerContext(ScheduledTask, Date) - Constructor for class io.littlehorse.sdk.worker.WorkerContext
Constructor for internal use by the Task Worker Library.
Workflow - Class in io.littlehorse.sdk.wfsdk
The Workflow class represents a `WfSpec` object in the API.
WorkflowCondition - Interface in io.littlehorse.sdk.wfsdk
A WorkflowCondition is a representation of a boolean expression.
WorkflowIterator - Interface in io.littlehorse.sdk.wfsdk
 
WorkflowThread - Interface in io.littlehorse.sdk.wfsdk
This interface is what is used to define the logic of a ThreaSpec in a ThreadFunc.
A B C D E F G H I J L M N O R S T U V W 
All Classes All Packages