@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class TaskInstance extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskInstance.PriorityEnum
The priority of the user task instance.
|
static class |
TaskInstance.StatusEnum
The status of the user task instance.
|
Constructor and Description |
---|
TaskInstance() |
Modifier and Type | Method and Description |
---|---|
TaskInstance |
activityId(String activityId)
Set the activityId of this
TaskInstance instance and return the same instance. |
TaskInstance |
addAttributesItem(CustomAttribute attributesItem)
Add one Attributes instance to this
TaskInstance . |
TaskInstance |
addRecipientGroupsItem(String recipientGroupsItem)
Add one RecipientGroups instance to this
TaskInstance . |
TaskInstance |
addRecipientUsersItem(String recipientUsersItem)
Add one RecipientUsers instance to this
TaskInstance . |
TaskInstance |
attributes(List<CustomAttribute> attributes)
Set the attributes of this
TaskInstance instance and return the same instance. |
TaskInstance |
claimedAt(OffsetDateTime claimedAt)
Set the claimedAt of this
TaskInstance instance and return the same instance. |
TaskInstance |
completedAt(OffsetDateTime completedAt)
Set the completedAt of this
TaskInstance instance and return the same instance. |
TaskInstance |
createdAt(OffsetDateTime createdAt)
Set the createdAt of this
TaskInstance instance and return the same instance. |
TaskInstance |
createdBy(String createdBy)
Set the createdBy of this
TaskInstance instance and return the same instance. |
TaskInstance |
definitionId(String definitionId)
Set the definitionId of this
TaskInstance instance and return the same instance. |
TaskInstance |
description(String description)
Set the description of this
TaskInstance instance and return the same instance. |
TaskInstance |
dueDate(OffsetDateTime dueDate)
Set the dueDate of this
TaskInstance instance and return the same instance. |
boolean |
equals(Object o) |
String |
getActivityId()
The definition ID of the user task instance.
|
List<CustomAttribute> |
getAttributes()
Attributes of the user task instance.
|
OffsetDateTime |
getClaimedAt()
The time when the user task instance was claimed and its status changed to RESERVED.
|
OffsetDateTime |
getCompletedAt()
The time when the user task instance status changed to COMPLETED.
|
OffsetDateTime |
getCreatedAt()
The time when the user task instance was created.
|
String |
getCreatedBy()
The user who created the user task instance.
|
String |
getDefinitionId()
The definition ID of the user task.
|
String |
getDescription()
The description of the user task instance.
|
OffsetDateTime |
getDueDate()
The time when the user task instance is or was due to be COMPLETED.
|
String |
getId()
The ID of the user task instance.
|
OffsetDateTime |
getLastChangedAt()
The last time the user task instance was changed.
|
TaskInstance.PriorityEnum |
getPriority()
The priority of the user task instance.
|
String |
getProcessor()
The user who is processing (has claimed) the user task instance.
|
Set<String> |
getRecipientGroups()
The recipient groups of the user task instance.
|
Set<String> |
getRecipientUsers()
The recipient users of the user task instance.
|
TaskInstance.StatusEnum |
getStatus()
The status of the user task instance.
|
String |
getSubject()
The subject of the user task instance.
|
String |
getWorkflowDefinitionId()
The definition ID of the workflow the user task instance belongs to.
|
String |
getWorkflowInstanceId()
The instance ID of the workflow the user task instance belongs to.
|
int |
hashCode() |
TaskInstance |
id(String id)
Set the id of this
TaskInstance instance and return the same instance. |
TaskInstance |
lastChangedAt(OffsetDateTime lastChangedAt)
Set the lastChangedAt of this
TaskInstance instance and return the same instance. |
TaskInstance |
priority(TaskInstance.PriorityEnum priority)
Set the priority of this
TaskInstance instance and return the same instance. |
TaskInstance |
processor(String processor)
Set the processor of this
TaskInstance instance and return the same instance. |
TaskInstance |
recipientGroups(Set<String> recipientGroups)
Set the recipientGroups of this
TaskInstance instance and return the same instance. |
TaskInstance |
recipientUsers(Set<String> recipientUsers)
Set the recipientUsers of this
TaskInstance instance and return the same instance. |
void |
setActivityId(String activityId)
Set the activityId of this
TaskInstance instance. |
void |
setAttributes(List<CustomAttribute> attributes)
Set the attributes of this
TaskInstance instance. |
void |
setClaimedAt(OffsetDateTime claimedAt)
Set the claimedAt of this
TaskInstance instance. |
void |
setCompletedAt(OffsetDateTime completedAt)
Set the completedAt of this
TaskInstance instance. |
void |
setCreatedAt(OffsetDateTime createdAt)
Set the createdAt of this
TaskInstance instance. |
void |
setCreatedBy(String createdBy)
Set the createdBy of this
TaskInstance instance. |
void |
setDefinitionId(String definitionId)
Set the definitionId of this
TaskInstance instance. |
void |
setDescription(String description)
Set the description of this
TaskInstance instance. |
void |
setDueDate(OffsetDateTime dueDate)
Set the dueDate of this
TaskInstance instance. |
void |
setId(String id)
Set the id of this
TaskInstance instance. |
void |
setLastChangedAt(OffsetDateTime lastChangedAt)
Set the lastChangedAt of this
TaskInstance instance. |
void |
setPriority(TaskInstance.PriorityEnum priority)
Set the priority of this
TaskInstance instance. |
void |
setProcessor(String processor)
Set the processor of this
TaskInstance instance. |
void |
setRecipientGroups(Set<String> recipientGroups)
Set the recipientGroups of this
TaskInstance instance. |
void |
setRecipientUsers(Set<String> recipientUsers)
Set the recipientUsers of this
TaskInstance instance. |
void |
setStatus(TaskInstance.StatusEnum status)
Set the status of this
TaskInstance instance. |
void |
setSubject(String subject)
Set the subject of this
TaskInstance instance. |
void |
setWorkflowDefinitionId(String workflowDefinitionId)
Set the workflowDefinitionId of this
TaskInstance instance. |
void |
setWorkflowInstanceId(String workflowInstanceId)
Set the workflowInstanceId of this
TaskInstance instance. |
TaskInstance |
status(TaskInstance.StatusEnum status)
Set the status of this
TaskInstance instance and return the same instance. |
TaskInstance |
subject(String subject)
Set the subject of this
TaskInstance instance and return the same instance. |
String |
toString() |
TaskInstance |
workflowDefinitionId(String workflowDefinitionId)
Set the workflowDefinitionId of this
TaskInstance instance and return the same instance. |
TaskInstance |
workflowInstanceId(String workflowInstanceId)
Set the workflowInstanceId of this
TaskInstance instance and return the same instance. |
@Nonnull public TaskInstance activityId(@Nonnull String activityId)
TaskInstance
instance and return the same instance.activityId
- The definition ID of the user task instance. The ID is at most 255 characters long.TaskInstance
class@Nonnull public String getActivityId()
TaskInstance
instance.public void setActivityId(@Nonnull String activityId)
TaskInstance
instance.activityId
- The definition ID of the user task instance. The ID is at most 255 characters long.@Nonnull public TaskInstance claimedAt(@Nonnull OffsetDateTime claimedAt)
TaskInstance
instance and return the same instance.claimedAt
- The time when the user task instance was claimed and its status changed to RESERVED.TaskInstance
class@Nonnull public OffsetDateTime getClaimedAt()
TaskInstance
instance.public void setClaimedAt(@Nonnull OffsetDateTime claimedAt)
TaskInstance
instance.claimedAt
- The time when the user task instance was claimed and its status changed to RESERVED.@Nonnull public TaskInstance completedAt(@Nonnull OffsetDateTime completedAt)
TaskInstance
instance and return the same instance.completedAt
- The time when the user task instance status changed to COMPLETED.TaskInstance
class@Nonnull public OffsetDateTime getCompletedAt()
TaskInstance
instance.public void setCompletedAt(@Nonnull OffsetDateTime completedAt)
TaskInstance
instance.completedAt
- The time when the user task instance status changed to COMPLETED.@Nonnull public TaskInstance createdAt(@Nonnull OffsetDateTime createdAt)
TaskInstance
instance and return the same instance.createdAt
- The time when the user task instance was created.TaskInstance
class@Nonnull public OffsetDateTime getCreatedAt()
TaskInstance
instance.public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
TaskInstance
instance.createdAt
- The time when the user task instance was created.@Nonnull public TaskInstance createdBy(@Nonnull String createdBy)
TaskInstance
instance and return the same instance.createdBy
- The user who created the user task instance. The user ID is at most 255 characters long.TaskInstance
class@Nonnull public String getCreatedBy()
TaskInstance
instance.public void setCreatedBy(@Nonnull String createdBy)
TaskInstance
instance.createdBy
- The user who created the user task instance. The user ID is at most 255 characters long.@Nonnull public TaskInstance lastChangedAt(@Nonnull OffsetDateTime lastChangedAt)
TaskInstance
instance and return the same instance.lastChangedAt
- The last time the user task instance was changed.TaskInstance
class@Nonnull public OffsetDateTime getLastChangedAt()
TaskInstance
instance.public void setLastChangedAt(@Nonnull OffsetDateTime lastChangedAt)
TaskInstance
instance.lastChangedAt
- The last time the user task instance was changed.@Nonnull public TaskInstance description(@Nonnull String description)
TaskInstance
instance and return the same instance.description
- The description of the user task instance.TaskInstance
class@Nonnull public String getDescription()
TaskInstance
instance.public void setDescription(@Nonnull String description)
TaskInstance
instance.description
- The description of the user task instance.@Nonnull public TaskInstance id(@Nonnull String id)
TaskInstance
instance and return the same instance.id
- The ID of the user task instance. The ID is at least 36 characters long.TaskInstance
class@Nonnull public String getId()
TaskInstance
instance.public void setId(@Nonnull String id)
TaskInstance
instance.id
- The ID of the user task instance. The ID is at least 36 characters long.@Nonnull public TaskInstance priority(@Nonnull TaskInstance.PriorityEnum priority)
TaskInstance
instance and return the same instance.priority
- The priority of the user task instance.TaskInstance
class@Nonnull public TaskInstance.PriorityEnum getPriority()
TaskInstance
instance.public void setPriority(@Nonnull TaskInstance.PriorityEnum priority)
TaskInstance
instance.priority
- The priority of the user task instance.@Nonnull public TaskInstance dueDate(@Nonnull OffsetDateTime dueDate)
TaskInstance
instance and return the same instance.dueDate
- The time when the user task instance is or was due to be COMPLETED.TaskInstance
class@Nonnull public OffsetDateTime getDueDate()
TaskInstance
instance.public void setDueDate(@Nonnull OffsetDateTime dueDate)
TaskInstance
instance.dueDate
- The time when the user task instance is or was due to be COMPLETED.@Nonnull public TaskInstance processor(@Nonnull String processor)
TaskInstance
instance and return the same instance.processor
- The user who is processing (has claimed) the user task instance. The user ID is at most 255 characters
long.TaskInstance
class@Nonnull public String getProcessor()
TaskInstance
instance.public void setProcessor(@Nonnull String processor)
TaskInstance
instance.processor
- The user who is processing (has claimed) the user task instance. The user ID is at most 255 characters
long.@Nonnull public TaskInstance recipientUsers(@Nonnull Set<String> recipientUsers)
TaskInstance
instance and return the same instance.recipientUsers
- The recipient users of the user task instance.TaskInstance
class@Nonnull public TaskInstance addRecipientUsersItem(@Nonnull String recipientUsersItem)
TaskInstance
.recipientUsersItem
- The RecipientUsers that should be addedTaskInstance
@Nonnull public Set<String> getRecipientUsers()
TaskInstance
instance.public void setRecipientUsers(@Nonnull Set<String> recipientUsers)
TaskInstance
instance.recipientUsers
- The recipient users of the user task instance.@Nonnull public TaskInstance recipientGroups(@Nonnull Set<String> recipientGroups)
TaskInstance
instance and return the same instance.recipientGroups
- The recipient groups of the user task instance.TaskInstance
class@Nonnull public TaskInstance addRecipientGroupsItem(@Nonnull String recipientGroupsItem)
TaskInstance
.recipientGroupsItem
- The RecipientGroups that should be addedTaskInstance
@Nonnull public Set<String> getRecipientGroups()
TaskInstance
instance.public void setRecipientGroups(@Nonnull Set<String> recipientGroups)
TaskInstance
instance.recipientGroups
- The recipient groups of the user task instance.@Nonnull public TaskInstance status(@Nonnull TaskInstance.StatusEnum status)
TaskInstance
instance and return the same instance.status
- The status of the user task instance.TaskInstance
class@Nonnull public TaskInstance.StatusEnum getStatus()
TaskInstance
instance.public void setStatus(@Nonnull TaskInstance.StatusEnum status)
TaskInstance
instance.status
- The status of the user task instance.@Nonnull public TaskInstance subject(@Nonnull String subject)
TaskInstance
instance and return the same instance.subject
- The subject of the user task instance. The subject is at most 255 characters long.TaskInstance
class@Nonnull public String getSubject()
TaskInstance
instance.public void setSubject(@Nonnull String subject)
TaskInstance
instance.subject
- The subject of the user task instance. The subject is at most 255 characters long.@Nonnull public TaskInstance workflowDefinitionId(@Nonnull String workflowDefinitionId)
TaskInstance
instance and return the same instance.workflowDefinitionId
- The definition ID of the workflow the user task instance belongs to. The ID is at most 64 characters
long.TaskInstance
class@Nonnull public String getWorkflowDefinitionId()
TaskInstance
instance.public void setWorkflowDefinitionId(@Nonnull String workflowDefinitionId)
TaskInstance
instance.workflowDefinitionId
- The definition ID of the workflow the user task instance belongs to. The ID is at most 64 characters
long.@Nonnull public TaskInstance workflowInstanceId(@Nonnull String workflowInstanceId)
TaskInstance
instance and return the same instance.workflowInstanceId
- The instance ID of the workflow the user task instance belongs to. The ID is at least 36 characters
long.TaskInstance
class@Nonnull public String getWorkflowInstanceId()
TaskInstance
instance.public void setWorkflowInstanceId(@Nonnull String workflowInstanceId)
TaskInstance
instance.workflowInstanceId
- The instance ID of the workflow the user task instance belongs to. The ID is at least 36 characters
long.@Nonnull public TaskInstance attributes(@Nonnull List<CustomAttribute> attributes)
TaskInstance
instance and return the same instance.attributes
- Attributes of the user task instance. Present only if the $expand parameter in the query has the value
\"attributes\".TaskInstance
class@Nonnull public TaskInstance addAttributesItem(@Nonnull CustomAttribute attributesItem)
TaskInstance
.attributesItem
- The Attributes that should be addedTaskInstance
@Nonnull public List<CustomAttribute> getAttributes()
TaskInstance
instance.public void setAttributes(@Nonnull List<CustomAttribute> attributes)
TaskInstance
instance.attributes
- Attributes of the user task instance. Present only if the $expand parameter in the query has the value
\"attributes\".@Nonnull public TaskInstance definitionId(@Nonnull String definitionId)
TaskInstance
instance and return the same instance.definitionId
- The definition ID of the user task. It consists of the ID of the task defined in the workflow
definition (task definition ID) as well as the workflow definition ID delimited by an '@'
sign.TaskInstance
class@Nonnull public String getDefinitionId()
TaskInstance
instance.public void setDefinitionId(@Nonnull String definitionId)
TaskInstance
instance.definitionId
- The definition ID of the user task. It consists of the ID of the task defined in the workflow
definition (task definition ID) as well as the workflow definition ID delimited by an '@'
sign.Copyright © 2020 SAP SE. All rights reserved.