@UriParams public final class ApprovalRequest extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ApprovalRequest.Action |
Constructor and Description |
---|
ApprovalRequest() |
Modifier and Type | Method and Description |
---|---|
void |
addNextApproverId(String nextApproverId) |
ApprovalRequest |
applyTemplate(ApprovalRequest template)
Creates new
ApprovalRequest by combining values from the given template with the values currently
present. |
boolean |
equals(Object obj) |
ApprovalRequest.Action |
getActionType() |
String |
getComments() |
String |
getContextActorId() |
String |
getContextId() |
List<String> |
getNextApproverIds() |
String |
getProcessDefinitionNameOrId() |
int |
hashCode() |
boolean |
isSkipEntryCriteria() |
void |
setActionType(ApprovalRequest.Action actionType) |
void |
setComments(String comments) |
void |
setContextActorId(String contextActorId) |
void |
setContextId(String contextId) |
void |
setNextApproverIds(List<String> nextApproverIds) |
void |
setNextApproverIds(String nextApproverId) |
void |
setProcessDefinitionNameOrId(String processDefinitionNameOrId) |
void |
setSkipEntryCriteria(boolean skipEntryCriteria) |
String |
toString() |
public void addNextApproverId(String nextApproverId)
public ApprovalRequest applyTemplate(ApprovalRequest template)
ApprovalRequest
by combining values from the given template with the values currently
present. If the value is not present and the template has the corresponding value, then the template value is
set. The net result is that all set values of an ApprovalRequest
are preserved, while the values set on
template are used for undefined ( null
) values.template
- template to applypublic ApprovalRequest.Action getActionType()
public String getComments()
public String getContextActorId()
public String getContextId()
public String getProcessDefinitionNameOrId()
public boolean isSkipEntryCriteria()
public void setActionType(ApprovalRequest.Action actionType)
public void setComments(String comments)
public void setContextActorId(String contextActorId)
public void setContextId(String contextId)
public void setNextApproverIds(String nextApproverId)
public void setProcessDefinitionNameOrId(String processDefinitionNameOrId)
public void setSkipEntryCriteria(boolean skipEntryCriteria)
Apache Camel