public class WorkflowRunReport extends Object
Constructor and Description |
---|
WorkflowRunReport() |
Modifier and Type | Method and Description |
---|---|
String |
calculateTotalTime(Collection<Processing> processings)
calculateTotalTime.
|
protected Collection<Processing> |
collectProcessings(WorkflowRun wr) |
protected Collection<File> |
findFiles(Collection<Processing> processings) |
protected Collection<Processing> |
findParents(Collection<Processing> processings,
int workflowRunSWID,
boolean findImmediateOnly) |
Collection<WorkflowRunReportRow> |
getAllRuns()
Find all of the workflow runs, and report on each of the workflow runs the files, samples and processing events associated with each.
|
Collection<WorkflowRunReportRow> |
getRunsByStatus(WorkflowRunStatus status) |
Collection<WorkflowRunReportRow> |
getRunsFromWorkflow(Integer workflowSWID)
Using a workflow SWID, find all of the workflow runs, and report on each of the workflow runs the files, samples and processing
events associated with each.
|
WorkflowRunReportRow |
getSingleWorkflowRun(Integer workflowRunSWID)
Using a workflow run SWID, report on the files, samples and processing events associated with the run.
|
void |
setEarliestDate(Date earliestDate)
Set the value of earliestDate.
|
void |
setLatestDate(Date latestDate)
Set the value of latestDate.
|
void |
setStatus(WorkflowRunStatus status) |
protected Object |
testIfNull(Object o)
testIfNull.
|
public void setLatestDate(Date latestDate)
latestDate
- new value of latestDatepublic void setEarliestDate(Date earliestDate)
earliestDate
- new value of earliestDatepublic Collection<WorkflowRunReportRow> getAllRuns()
public WorkflowRunReportRow getSingleWorkflowRun(Integer workflowRunSWID)
workflowRunSWID
- a Integer
object.public Collection<WorkflowRunReportRow> getRunsFromWorkflow(Integer workflowSWID)
workflowSWID
- the SWID of the workflowprotected Collection<Processing> collectProcessings(WorkflowRun wr)
public String calculateTotalTime(Collection<Processing> processings)
calculateTotalTime.
processings
- a Collection
object.String
object.protected Collection<File> findFiles(Collection<Processing> processings)
protected Collection<Processing> findParents(Collection<Processing> processings, int workflowRunSWID, boolean findImmediateOnly)
public void setStatus(WorkflowRunStatus status)
public Collection<WorkflowRunReportRow> getRunsByStatus(WorkflowRunStatus status)
Copyright © 2015 SeqWare. All rights reserved.