Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionOpenCounts

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.WorkflowExecutionOpenCounts

public class WorkflowExecutionOpenCounts
extends Object

Contains the counts of open tasks, child workflow executions and timers for a workflow execution.


Constructor Summary
WorkflowExecutionOpenCounts()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getOpenActivityTasks()
          The count of activity tasks whose status is OPEN.
 Integer getOpenChildWorkflowExecutions()
          The count of child workflow executions whose status is OPEN.
 Integer getOpenDecisionTasks()
          The count of decision tasks whose status is OPEN.
 Integer getOpenTimers()
          The count of timers started by this workflow execution that have not fired yet.
 int hashCode()
           
 void setOpenActivityTasks(Integer openActivityTasks)
          The count of activity tasks whose status is OPEN.
 void setOpenChildWorkflowExecutions(Integer openChildWorkflowExecutions)
          The count of child workflow executions whose status is OPEN.
 void setOpenDecisionTasks(Integer openDecisionTasks)
          The count of decision tasks whose status is OPEN.
 void setOpenTimers(Integer openTimers)
          The count of timers started by this workflow execution that have not fired yet.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionOpenCounts withOpenActivityTasks(Integer openActivityTasks)
          The count of activity tasks whose status is OPEN.
 WorkflowExecutionOpenCounts withOpenChildWorkflowExecutions(Integer openChildWorkflowExecutions)
          The count of child workflow executions whose status is OPEN.
 WorkflowExecutionOpenCounts withOpenDecisionTasks(Integer openDecisionTasks)
          The count of decision tasks whose status is OPEN.
 WorkflowExecutionOpenCounts withOpenTimers(Integer openTimers)
          The count of timers started by this workflow execution that have not fired yet.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionOpenCounts

public WorkflowExecutionOpenCounts()
Method Detail

getOpenActivityTasks

public Integer getOpenActivityTasks()
The count of activity tasks whose status is OPEN.

Constraints:
Range: 0 -

Returns:
The count of activity tasks whose status is OPEN.

setOpenActivityTasks

public void setOpenActivityTasks(Integer openActivityTasks)
The count of activity tasks whose status is OPEN.

Constraints:
Range: 0 -

Parameters:
openActivityTasks - The count of activity tasks whose status is OPEN.

withOpenActivityTasks

public WorkflowExecutionOpenCounts withOpenActivityTasks(Integer openActivityTasks)
The count of activity tasks whose status is OPEN.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 -

Parameters:
openActivityTasks - The count of activity tasks whose status is OPEN.
Returns:
A reference to this updated object so that method calls can be chained together.

getOpenDecisionTasks

public Integer getOpenDecisionTasks()
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

Constraints:
Range: 0 - 1

Returns:
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

setOpenDecisionTasks

public void setOpenDecisionTasks(Integer openDecisionTasks)
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

Constraints:
Range: 0 - 1

Parameters:
openDecisionTasks - The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

withOpenDecisionTasks

public WorkflowExecutionOpenCounts withOpenDecisionTasks(Integer openDecisionTasks)
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 - 1

Parameters:
openDecisionTasks - The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
Returns:
A reference to this updated object so that method calls can be chained together.

getOpenTimers

public Integer getOpenTimers()
The count of timers started by this workflow execution that have not fired yet.

Constraints:
Range: 0 -

Returns:
The count of timers started by this workflow execution that have not fired yet.

setOpenTimers

public void setOpenTimers(Integer openTimers)
The count of timers started by this workflow execution that have not fired yet.

Constraints:
Range: 0 -

Parameters:
openTimers - The count of timers started by this workflow execution that have not fired yet.

withOpenTimers

public WorkflowExecutionOpenCounts withOpenTimers(Integer openTimers)
The count of timers started by this workflow execution that have not fired yet.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 -

Parameters:
openTimers - The count of timers started by this workflow execution that have not fired yet.
Returns:
A reference to this updated object so that method calls can be chained together.

getOpenChildWorkflowExecutions

public Integer getOpenChildWorkflowExecutions()
The count of child workflow executions whose status is OPEN.

Constraints:
Range: 0 -

Returns:
The count of child workflow executions whose status is OPEN.

setOpenChildWorkflowExecutions

public void setOpenChildWorkflowExecutions(Integer openChildWorkflowExecutions)
The count of child workflow executions whose status is OPEN.

Constraints:
Range: 0 -

Parameters:
openChildWorkflowExecutions - The count of child workflow executions whose status is OPEN.

withOpenChildWorkflowExecutions

public WorkflowExecutionOpenCounts withOpenChildWorkflowExecutions(Integer openChildWorkflowExecutions)
The count of child workflow executions whose status is OPEN.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 0 -

Parameters:
openChildWorkflowExecutions - The count of child workflow executions whose status is OPEN.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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