Class WorkflowTransition
java.lang.Object
ubic.gemma.persistence.service.expression.experiment.WorkflowTransition
Return value of
WorkflowService.advance(Investigation, WorkflowState, String, Long). Carries
enough for the caller (and the REST layer) to round-trip a 200 response
without re-fetching the dataset.
idempotent is true when the caller advanced to the state the
dataset was already in; in that case previousState == currentState
and auditEventId is null (no event emitted).
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowTransition(Long datasetId, WorkflowState previousState, WorkflowState currentState, Date enteredCurrentStateAt, Long auditEventId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
WorkflowTransition
public WorkflowTransition(Long datasetId, WorkflowState previousState, WorkflowState currentState, @Nullable Date enteredCurrentStateAt, @Nullable Long auditEventId)
-
-
Method Details
-
getDatasetId
-
getPreviousState
-
getCurrentState
-
getEnteredCurrentStateAt
-
getAuditEventId
-
isIdempotent
public boolean isIdempotent()
-