public abstract static class WorkflowDTO.StepDTO<T extends WorkflowDTO.StepDTO> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
alreadySatisfiedComment |
protected Boolean |
emailAttachment
Signals that approvable should be exported and attached to email in the given step
|
protected String |
emailAttachmentTemplateName |
protected Map<String,Object> |
properties |
protected String |
uniqueName |
protected WorkflowDTO |
workflow |
Constructor and Description |
---|
StepDTO(WorkflowDTO workflow,
String uniqueName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
fromMap(Map<String,Object> values) |
String |
getAlreadySatisfiedComment() |
Boolean |
getEmailAttachment()
Retrieves the attachment sending setting
|
String |
getEmailAttachmentTemplateName() |
Map<String,Object> |
getProperties() |
String |
getUniqueName()
Gets the name of the step
|
int |
hashCode() |
protected List<String> |
readSingleValue(String name) |
Map<String,Object> |
toMap() |
T |
withAlreadySatisfied()
Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied.
|
T |
withAlreadySatisfied(String comment)
Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied.
|
T |
withEmailAttachment()
Makes the step send the attachment along with the notification
Same as
withEmailAttachment(true) |
T |
withEmailAttachment(Boolean emailAttachment)
Makes the step send the attachment along with the notification
|
T |
withEmailAttachmentTemplateName(String emailAttachmentTemplateName) |
protected WorkflowDTO workflow
protected String uniqueName
protected Boolean emailAttachment
protected String emailAttachmentTemplateName
protected String alreadySatisfiedComment
public StepDTO(WorkflowDTO workflow, String uniqueName)
public String getUniqueName()
public T withEmailAttachment()
withEmailAttachment(true)
public T withEmailAttachment(Boolean emailAttachment)
emailAttachment
- Send attachment (true) or not (false)public Boolean getEmailAttachment()
public T withEmailAttachmentTemplateName(String emailAttachmentTemplateName)
public String getEmailAttachmentTemplateName()
public String getAlreadySatisfiedComment()
public T withAlreadySatisfied()
public T withAlreadySatisfied(String comment)
comment
- If set to non-null value, the execution of the step will skipped and its value used as the step's commentCopyright © 2019. All rights reserved.