Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.annotations
Annotation Type WorkflowRegistrationOptions


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface WorkflowRegistrationOptions

See Also:
WorkflowWorker

Required Element Summary
 long defaultExecutionStartToCloseTimeoutSeconds
          Maximum time that workflow run is allowed to execute.
 
Optional Element Summary
 ChildPolicy defaultChildPolicy
           
 String defaultTaskList
          Task list that decision task is delivered through for the given workflow type.
 long defaultTaskStartToCloseTimeoutSeconds
          Single decision timeout.
 String description
          Optional textual description of the workflow type.
 

Element Detail

defaultExecutionStartToCloseTimeoutSeconds

public abstract long defaultExecutionStartToCloseTimeoutSeconds
Maximum time that workflow run is allowed to execute. Workflow is forcefully closed by the SWF service if this timeout is exceeded.

description

public abstract String description
Optional textual description of the workflow type. Maximum length is 1024 characters.

Default:
""

defaultTaskStartToCloseTimeoutSeconds

public abstract long defaultTaskStartToCloseTimeoutSeconds
Single decision timeout. This timeout defines how long it takes to reexecute a decision after WorkflowWorker catastrophic failure in the middle of one. Do not confuse with the whole worklfow timeout ( defaultExecutionStartToCloseTimeoutSeconds() which can be really big. Default is 30 seconds.

Default:
30L

defaultTaskList

public abstract String defaultTaskList
Task list that decision task is delivered through for the given workflow type.

Default is FlowConstants.USE_WORKER_TASK_LIST, which means to use task list from the WorkflowWorker that the workflow implementation is registered with.

Default:
"USE_WORKER_TASK_LIST"

defaultChildPolicy

public abstract ChildPolicy defaultChildPolicy
Default:
com.amazonaws.services.simpleworkflow.model.ChildPolicy.TERMINATE


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.