No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RunningAction.java 589B

123456789101112131415161718192021222324252627282930313233
  1. package org.insa.graphs.gui;
  2. import java.time.Duration;
  3. import java.time.Instant;
  4. public interface RunningAction {
  5. /**
  6. * @return true if this action is running.
  7. */
  8. public boolean isRunning();
  9. /**
  10. * Interrupt this action.
  11. */
  12. public void interrupt();
  13. /**
  14. * @return Starting time of this action.
  15. */
  16. public Instant getStartingTime();
  17. /**
  18. * @return Current duration of this action.
  19. */
  20. public Duration getDuration();
  21. /**
  22. * @return Information for this action.
  23. */
  24. public String getInformation();
  25. }