Class TaskSchedule

java.lang.Object
cz.metacentrum.perun.taskslib.model.TaskSchedule
All Implemented Interfaces:
Comparable<Delayed>, Delayed

public class TaskSchedule extends Object implements Delayed
  • Constructor Details

    • TaskSchedule

      public TaskSchedule(long delay, Task task)
  • Method Details

    • compareTo

      public int compareTo(Delayed delayed)
      Specified by:
      compareTo in interface Comparable<Delayed>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getDelay

      public long getDelay(TimeUnit unit)
      Specified by:
      getDelay in interface Delayed
    • getDelay

      public long getDelay()
    • setDelay

      public void setDelay(long delay)
    • getDelayCount

      public int getDelayCount()
    • setDelayCount

      public void setDelayCount(int delayCount)
    • getTask

      public Task getTask()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • setBase

      public void setBase(long base)
    • toString

      public String toString()
      Overrides:
      toString in class Object