public class MaxParallel
extends java.lang.Object
MaxParallel
is part of the attributes tab for all executeable objects.Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getParallelTasks()
Returns the maximum number of paralle tasks.
|
int |
hashCode() |
boolean |
isCancel()
Returns
true if objects should be canceled when maximum number
of parallel tasks is exceeded. |
void |
setCancel(boolean cancel)
Sets the handling of the Object if execution exceeds the maximum number of tasks set to run parallel.
|
void |
setParallelTasks(int parallelTasks)
Setting which defines the maximum number of parallel executions for this Job.
|
public boolean isCancel()
true
if objects should be canceled when maximum number
of parallel tasks is exceeded.public void setCancel(boolean cancel)
cancel
is set to true
additional Automation Engine Objects are canceled with
status FAULT_ALREADY_RUNNING - task is already running.
if cancel
is set to false
additional Automation Engine Objects
will wait until execution is possible.cancel
- Cancelpublic int getParallelTasks()
public void setParallelTasks(int parallelTasks)
Permitted values: 0 to 99999
Default: 0 (no limit on tasks running parallel)
parallelTasks
- max parallel taskspublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object