| Package | Description |
|---|---|
| org.kquiet.jobscheduler |
| Modifier and Type | Method and Description |
|---|---|
static JobController.PauseTarget |
JobController.PauseTarget.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobController.PauseTarget[] |
JobController.PauseTarget.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JobController.isPaused(JobController.PauseTarget target)
Check if the specified target has already paused.
|
boolean |
JobController.pause(JobController.PauseTarget target) |
boolean |
JobController.pause(JobController.PauseTarget target,
boolean autoResumable)
Pause the execution of specified target.
|
boolean |
JobController.resume(JobController.PauseTarget target) |
boolean |
JobController.resume(JobController.PauseTarget target,
boolean autoResumable)
Resume the execution of specified target.
|
void |
JobController.setAfterPauseFunction(JobController.PauseTarget target,
Runnable afterPauseFunc)
Set the function to execute after pause.
|
void |
JobController.setAfterResumeFunction(JobController.PauseTarget target,
Runnable afterResumeFunc)
Set the function to execute after resume.
|
Copyright © 2019. All rights reserved.