Package org.insa.graphs.gui
Interface RunningAction
-
- All Known Implementing Classes:
ThreadWrapper
public interface RunningAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.time.DurationgetDuration()java.lang.StringgetInformation()java.time.InstantgetStartingTime()voidinterrupt()Interrupt this action.booleanisRunning()
-
-
-
Method Detail
-
isRunning
boolean isRunning()
- Returns:
- true if this action is running.
-
interrupt
void interrupt()
Interrupt this action.
-
getStartingTime
java.time.Instant getStartingTime()
- Returns:
- Starting time of this action.
-
getDuration
java.time.Duration getDuration()
- Returns:
- Current duration of this action.
-
getInformation
java.lang.String getInformation()
- Returns:
- Information for this action.
-
-