public class TaskType extends Object implements Serializable
Models a task type
Tasks can be idempotent or non-idempotent. Idempotent tasks can be restarted/re-executed when a workflow instance crashes or there is some other kind of error. non-idempotent tasks will only be attempted once.
Constructor and Description |
---|
TaskType(String type,
String version,
boolean isIdempotent) |
TaskType(String type,
String version,
boolean isIdempotent,
TaskMode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
TaskMode |
getMode() |
String |
getType() |
String |
getVersion() |
int |
hashCode() |
boolean |
isIdempotent() |
String |
toString() |
Copyright © 2014–2018 Nirmata. All rights reserved.