Class UIWorkflowEvent
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.workflow.UIEvent
-
- fr.ens.biologie.genomique.eoulsan.core.workflow.UIWorkflowEvent
-
public class UIWorkflowEvent extends UIEvent
This class define a UI workflow event.- Since:
- 2.3
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description UIWorkflowEvent(boolean success, String message)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Get the message of the event.boolean
isSuccess()
Test if the event is a success.
-
-
-
Constructor Detail
-
UIWorkflowEvent
public UIWorkflowEvent(boolean success, String message)
Constructor.- Parameters:
success
- true if the workflow is a successmessage
- the message of the event
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
Test if the event is a success.- Returns:
- true if the event is a success
-
getMessage
public String getMessage()
Get the message of the event.- Returns:
- the message of the event
-
-