Package net.pricefx.common.dto
Class WorkflowDTO.StepDTO<T extends WorkflowDTO.StepDTO>
Object
StepDTO<T>
- Direct Known Subclasses:
WorkflowDTO.ApprovalStepDTO
,WorkflowDTO.WatcherStepDTO
- Enclosing class:
WorkflowDTO
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Boolean
Signals that approvable should be exported and attached to email in the given stepprotected String
protected String
protected WorkflowDTO
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Retrieves the attachment sending settingGets the name of the stepint
hashCode()
readSingleValue
(String name) toMap()
Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied.withAlreadySatisfied
(String comment) Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied.Makes the step send the attachment along with the notification Same aswithEmailAttachment(true)
withEmailAttachment
(Boolean emailAttachment) Makes the step send the attachment along with the notificationwithEmailAttachmentTemplateName
(String emailAttachmentTemplateName)
-
Field Details
-
workflow
-
properties
-
uniqueName
-
emailAttachment
Signals that approvable should be exported and attached to email in the given step -
emailAttachmentTemplateName
-
alreadySatisfiedComment
-
-
Constructor Details
-
StepDTO
-
-
Method Details
-
getProperties
-
getUniqueName
Gets the name of the step- Returns:
-
hashCode
public int hashCode() -
equals
-
withEmailAttachment
Makes the step send the attachment along with the notification Same aswithEmailAttachment(true)
-
withEmailAttachment
Makes the step send the attachment along with the notification- Parameters:
emailAttachment
- Send attachment (true) or not (false)
-
getEmailAttachment
Retrieves the attachment sending setting- Returns:
-
toMap
-
fromMap
-
readSingleValue
-
withEmailAttachmentTemplateName
-
getEmailAttachmentTemplateName
-
getAlreadySatisfiedComment
-
withAlreadySatisfied
Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied. -
withAlreadySatisfied
Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied.- Parameters:
comment
- If set to non-null value, the execution of the step will skipped and its value used as the step's comment
-