Class zebkit.util.TasksSet.Task <zebkit.util>

Task class

Constructor:
zebkit.util.TasksSet.Task (tasksSet)

Parameters:



public <Boolean> pause ( )

Pause the given task.


Returns: <Boolean>

true if the task has been paused

public <Boolean> resume ([startIn])

Resume the given task


Parameters:
  • [startIn] <Integer>

    a time in milliseconds to resume the task


Returns: <Boolean>

true if the task has been resumed

public <Boolean> shutdown ( )

Shutdown the given task.


Returns: <Boolean>

true if the task has been stopped


public <Boolean> isStarted

Indicates if the task is executed (active)

private <zebkit.util.TasksSet> taskSet

Reference to a tasks set that owns the task