|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.path.android.jobqueue.BaseJob
com.path.android.jobqueue.Job
public abstract class Job
Base class for all of your jobs.
If you were using BaseJob
, please move to this instance since BaseJob will be removed from the public api.
Field Summary |
---|
Fields inherited from class com.path.android.jobqueue.BaseJob |
---|
DEFAULT_RETRY_LIMIT |
Constructor Summary | |
---|---|
protected |
Job(Params params)
|
Method Summary | |
---|---|
long |
getDelayInMs()
used by JobManager to assign proper delay at the time job is added. |
int |
getPriority()
used by JobManager to assign proper priority at the time job is added. |
Methods inherited from class com.path.android.jobqueue.BaseJob |
---|
getCurrentRunCount, getRetryLimit, getRunGroupId, isPersistent, onAdded, onCancel, onRun, requiresNetwork, safeRun, shouldReRunOnThrowable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Job(Params params)
Method Detail |
---|
public final int getPriority()
JobManager
to assign proper priority at the time job is added.
This field is not preserved!
public final long getDelayInMs()
JobManager
to assign proper delay at the time job is added.
This field is not preserved!
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |