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.Duration
getDuration()
java.lang.String
getInformation()
java.time.Instant
getStartingTime()
void
interrupt()
Interrupt this action.boolean
isRunning()
-
-
-
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.
-
-