Class ProcessStepUpdate
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe error for the step updateThe message for the step updateThe output for the step updateThe status for the step updateAn override for userDisplayName.An override for userId.An override for username. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()voidvoidsetMessage(String message) voidvoidvoidsetUserDisplayName(String userDisplayName) voidvoidsetUsername(String username)
-
Field Details
-
status
The status for the step updateThis should not be set to
MorpheusProcessService.STATUS_COMPLETEorMorpheusProcessService.STATUS_FAILEDduring an update, as those are final states that should only be set when ending a process or a process step.This can be found in the history detail view of the step.
-
output
The output for the step updateIf the output is set to append with update call (see
MorpheusProcessService.updateProcessStep(Process, ProcessStepType, ProcessStepUpdate, Boolean)) this output is appended to the existing. Otherwise, it'll replace it entirely.A preview of this can be found in the history list and the full output can be found in the history detail view of the step.
-
message
The message for the step updateIf the message is set to append with update call (see
MorpheusProcessService.updateProcessStep(Process, ProcessStepType, ProcessStepUpdate, Boolean)) this message is appended to the existing. Otherwise, it'll replace it entirely.This can be found in the history detail view of the step. It has its own line in the detail view and is also prepended to the top of the output text area. This isn't shown if the status is 'failed', in that case the error is displayed instead
-
error
The error for the step updateIf the error is set to append with update call (see
MorpheusProcessService.updateProcessStep(Process, ProcessStepType, ProcessStepUpdate, Boolean)) this error is appended to the existing. Otherwise, it'll replace it entirely.This can be found in the history detail view of the step. It has its own line in the detail view and is also prepended to the top of the output text area. This only shown if the status is 'failed', in that case the error is displayed in place of the message field.
-
username
An override for username. If unspecified, the username associated with the process is used -
userId
An override for userId. If unspecified, the userId associated with the process is used -
userDisplayName
An override for userDisplayName. If unspecified, the userDisplayName associated with the process is used
-
-
Constructor Details
-
ProcessStepUpdate
public ProcessStepUpdate()
-
-
Method Details
-
getStatus
-
setStatus
-
getOutput
-
setOutput
-
getMessage
-
setMessage
-
getError
-
setError
-
getUsername
-
setUsername
-
getUserId
-
setUserId
-
getUserDisplayName
-
setUserDisplayName
-