Class NoUI
java.lang.Object
fr.ens.biologie.genomique.eoulsan.ui.NoUI
- All Implemented Interfaces:
StepObserver,UI
This class define an UI that do nothing.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the name of the UI.voidInitialize the UI.voidnotifyStepState(Step step, int terminatedTasks, int submittedTasks, double progress) The progress of the step has been changed.voidnotifyStepState(Step step, int contextId, String contextName, double progress) The progress of the step for a sample has been changed.voidnotifyStepState(Step step, Step.StepState stepState) The status of the step has been changed.voidnotifyStepState(Step step, String note) The note of the step has been changed.voidnotifyTaskDone(Step step, int contextId) Notify that a task has been done.voidnotifyTaskRunning(Step step, int contextId) Notify that a task is running.voidnotifyTaskSubmitted(Step step, int contextId) Notify that a task has been submitted.voidnotifyWorkflowSuccess(boolean success, String message) Notify the success of the workflow.
-
Constructor Details
-
NoUI
public NoUI()
-
-
Method Details
-
getName
Description copied from interface:UIGet the name of the UI.- Returns:
- the name of the UI
-
init
Description copied from interface:UIInitialize the UI.- Parameters:
workflow- the worflow
-
notifyStepState
Description copied from interface:StepObserverThe status of the step has been changed.- Parameters:
step- step that the status has been changedstepState- state the step state
-
notifyStepState
Description copied from interface:StepObserverThe progress of the step for a sample has been changed.- Parameters:
step- step that the progress has been changedcontextId- id of the contextcontextName- name of the context that has been changedprogress- progress value
-
notifyStepState
Description copied from interface:StepObserverThe progress of the step has been changed.- Parameters:
step- step that the progress has been changedterminatedTasks- the terminated tasks countsubmittedTasks- the submitted tasks countprogress- the progress of the step
-
notifyStepState
Description copied from interface:StepObserverThe note of the step has been changed.- Parameters:
step- step that the note has been changednote- the note content
-
notifyWorkflowSuccess
Description copied from interface:StepObserverNotify the success of the workflow.- Parameters:
success- the success of the workflowmessage- success message
-
notifyTaskSubmitted
Description copied from interface:StepObserverNotify that a task has been submitted.- Parameters:
step- the step of the submitted taskcontextId- id of the context
-
notifyTaskRunning
Description copied from interface:StepObserverNotify that a task is running.- Parameters:
step- the step of the submitted taskcontextId- id of the context
-
notifyTaskDone
Description copied from interface:StepObserverNotify that a task has been done.- Parameters:
step- the step of the submitted taskcontextId- id of the context
-