Class UIPipelineStartService
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.services.UIPipelineStartService
-
@Component public class UIPipelineStartService extends java.lang.Object
Service to handle starting ofIridaWorkflow
s through the UI.
-
-
Constructor Summary
Constructors Constructor Description UIPipelineStartService(IridaWorkflowsService workflowsService, SequencingObjectService sequencingObjectService, AnalysisSubmissionService submissionService, ProjectService projectService, WorkflowNamedParametersService namedParametersService, org.springframework.context.MessageSource messageSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
start(java.util.UUID id, LaunchRequest request, java.util.Locale locale)
Start a new pipeline
-
-
-
Constructor Detail
-
UIPipelineStartService
@Autowired public UIPipelineStartService(IridaWorkflowsService workflowsService, SequencingObjectService sequencingObjectService, AnalysisSubmissionService submissionService, ProjectService projectService, WorkflowNamedParametersService namedParametersService, org.springframework.context.MessageSource messageSource)
-
-
Method Detail
-
start
public java.lang.Long start(java.util.UUID id, LaunchRequest request, java.util.Locale locale) throws IridaWorkflowNotFoundException, ReferenceFileRequiredException, MissingRequiredParametersException
Start a new pipeline- Parameters:
id
- - pipeline identifierrequest
- - details about the request to start the pipelinelocale
- - currently logged in users locale- Returns:
- The id of the new
AnalysisSubmission
, if more than one are kicked off, then the first id is returned. - Throws:
IridaWorkflowNotFoundException
- thrown if the workflow cannot be foundReferenceFileRequiredException
- thrown if a reference file is required and not sent (should not happen).MissingRequiredParametersException
-
-