|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.simpleworkflow.model.ActivityTypeConfiguration
public class ActivityTypeConfiguration
Configuration settings registered with the activity type.
| Constructor Summary | |
|---|---|
ActivityTypeConfiguration()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDefaultTaskHeartbeatTimeout()
The optional default maximum time, specified when registering the activity type, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat. |
TaskList |
getDefaultTaskList()
The optional default task list specified for this activity type at registration. |
String |
getDefaultTaskScheduleToCloseTimeout()
The optional default maximum duration, specified when registering the activity type, for tasks of this activity type. |
String |
getDefaultTaskScheduleToStartTimeout()
The optional default maximum duration, specified when registering the activity type, that a task of an activity type can wait before being assigned to a worker. |
String |
getDefaultTaskStartToCloseTimeout()
The optional default maximum duration for tasks of an activity type specified when registering the activity type. |
int |
hashCode()
|
void |
setDefaultTaskHeartbeatTimeout(String defaultTaskHeartbeatTimeout)
The optional default maximum time, specified when registering the activity type, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat. |
void |
setDefaultTaskList(TaskList defaultTaskList)
The optional default task list specified for this activity type at registration. |
void |
setDefaultTaskScheduleToCloseTimeout(String defaultTaskScheduleToCloseTimeout)
The optional default maximum duration, specified when registering the activity type, for tasks of this activity type. |
void |
setDefaultTaskScheduleToStartTimeout(String defaultTaskScheduleToStartTimeout)
The optional default maximum duration, specified when registering the activity type, that a task of an activity type can wait before being assigned to a worker. |
void |
setDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
The optional default maximum duration for tasks of an activity type specified when registering the activity type. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ActivityTypeConfiguration |
withDefaultTaskHeartbeatTimeout(String defaultTaskHeartbeatTimeout)
The optional default maximum time, specified when registering the activity type, before which a worker processing a task must report progress by calling RecordActivityTaskHeartbeat. |
ActivityTypeConfiguration |
withDefaultTaskList(TaskList defaultTaskList)
The optional default task list specified for this activity type at registration. |
ActivityTypeConfiguration |
withDefaultTaskScheduleToCloseTimeout(String defaultTaskScheduleToCloseTimeout)
The optional default maximum duration, specified when registering the activity type, for tasks of this activity type. |
ActivityTypeConfiguration |
withDefaultTaskScheduleToStartTimeout(String defaultTaskScheduleToStartTimeout)
The optional default maximum duration, specified when registering the activity type, that a task of an activity type can wait before being assigned to a worker. |
ActivityTypeConfiguration |
withDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
The optional default maximum duration for tasks of an activity type specified when registering the activity type. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActivityTypeConfiguration()
| Method Detail |
|---|
public String getDefaultTaskStartToCloseTimeout()
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public void setDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
defaultTaskStartToCloseTimeout - The optional default maximum duration for tasks of an activity type
specified when registering the activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public ActivityTypeConfiguration withDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskStartToCloseTimeout - The optional default maximum duration for tasks of an activity type
specified when registering the activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public String getDefaultTaskHeartbeatTimeout()
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public void setDefaultTaskHeartbeatTimeout(String defaultTaskHeartbeatTimeout)
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
defaultTaskHeartbeatTimeout - The optional default maximum time, specified when registering the
activity type, before which a worker processing a task must report
progress by calling RecordActivityTaskHeartbeat. You can
override this default when scheduling a task through the
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public ActivityTypeConfiguration withDefaultTaskHeartbeatTimeout(String defaultTaskHeartbeatTimeout)
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskHeartbeatTimeout - The optional default maximum time, specified when registering the
activity type, before which a worker processing a task must report
progress by calling RecordActivityTaskHeartbeat. You can
override this default when scheduling a task through the
ScheduleActivityTask Decision. If the activity
worker subsequently attempts to record a heartbeat or returns a
result, the activity worker receives an UnknownResource
fault. In this case, Amazon SWF no longer considers the activity task
to be valid; the activity worker should clean up the activity task.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public TaskList getDefaultTaskList()
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.public void setDefaultTaskList(TaskList defaultTaskList)
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.
defaultTaskList - The optional default task list specified for this activity type at
registration. This default task list is used if a task list is not
provided when a task is scheduled through the
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.public ActivityTypeConfiguration withDefaultTaskList(TaskList defaultTaskList)
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.
Returns a reference to this object so that method calls can be chained together.
defaultTaskList - The optional default task list specified for this activity type at
registration. This default task list is used if a task list is not
provided when a task is scheduled through the
ScheduleActivityTask Decision. You can override
this default when scheduling a task through the
ScheduleActivityTask Decision.
public String getDefaultTaskScheduleToStartTimeout()
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public void setDefaultTaskScheduleToStartTimeout(String defaultTaskScheduleToStartTimeout)
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
defaultTaskScheduleToStartTimeout - The optional default maximum duration, specified when registering the
activity type, that a task of an activity type can wait before being
assigned to a worker. You can override this default when scheduling a
task through the ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public ActivityTypeConfiguration withDefaultTaskScheduleToStartTimeout(String defaultTaskScheduleToStartTimeout)
ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskScheduleToStartTimeout - The optional default maximum duration, specified when registering the
activity type, that a task of an activity type can wait before being
assigned to a worker. You can override this default when scheduling a
task through the ScheduleActivityTask Decision.
The valid values are integers greater than or equal to
0. An integer value can be used to specify the duration
in seconds while NONE can be used to specify unlimited
duration.
public String getDefaultTaskScheduleToCloseTimeout()
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public void setDefaultTaskScheduleToCloseTimeout(String defaultTaskScheduleToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
defaultTaskScheduleToCloseTimeout - The optional default maximum duration, specified when registering the
activity type, for tasks of this activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public ActivityTypeConfiguration withDefaultTaskScheduleToCloseTimeout(String defaultTaskScheduleToCloseTimeout)
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
defaultTaskScheduleToCloseTimeout - The optional default maximum duration, specified when registering the
activity type, for tasks of this activity type. You can override this
default when scheduling a task through the
ScheduleActivityTask Decision. The valid values
are integers greater than or equal to 0. An integer value
can be used to specify the duration in seconds while NONE
can be used to specify unlimited duration.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||