Class WorkflowQueueEntry
java.lang.Object
ubic.gemma.persistence.service.expression.experiment.WorkflowQueueEntry
Lightweight projection used by
GET /workflow/queue. One row per
dataset currently sitting in the queried state.
currentAssignee / ticketCountOpen are forward-compatible
with the Ticket integration that AUDIT_AS_WORKFLOW_RECCE.md
Phase B-3 will deliver; on this first cut they are populated via the
TicketService
open-ticket lookup (count of OPEN/IN_PROGRESS tickets targeting the
dataset, and the assignee of the single such ticket if exactly one).
datasetType is a string rather than an enum so a forthcoming
PreboardedExperiment subclass can populate "preboarded_experiment"
without an enum-extension migration. // TODO(preboarded-integration): wire
the PreboardedExperiment path through the queue query once the subclass
lands.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowQueueEntry(Long datasetId, String datasetType, String accession, Date enteredCurrentStateAt) -
Method Summary
Modifier and TypeMethodDescriptionintHelper for tests / queue assembly; never the persisted state.voidsetCurrentAssignee(String currentAssignee) voidsetTicketCountOpen(int ticketCountOpen)
-
Constructor Details
-
WorkflowQueueEntry
-
-
Method Details
-
getDatasetId
-
getDatasetType
-
getAccession
-
getEnteredCurrentStateAt
-
getCurrentAssignee
-
setCurrentAssignee
-
getTicketCountOpen
public int getTicketCountOpen() -
setTicketCountOpen
public void setTicketCountOpen(int ticketCountOpen) -
peekState
Helper for tests / queue assembly; never the persisted state.
-