public abstract class Job extends Object implements IJob
JOB_CANCELLED, JOB_FINISHED, MODE_BACKGROUND, MODE_FOREGROUND, PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_NORMAL| Constructor and Description |
|---|
Job(String name,
String description,
int mode,
int priority)
Create a job object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns a detailed description of what the job is doing.
|
int |
getMode()
Retunrs the mode of the job.
|
String |
getName()
Returns the name of the job.
|
int |
getPriority()
Returns the priority of the job.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, needLoggerConsole, runpublic Job(String name, String description, int mode, int priority)
name - the name of the jobdescription - a description of the jobmode - the running mode of the jobpriority - the priority for the jobpublic String getName()
IJobpublic String getDescription()
IJobgetDescription in interface IJobpublic int getMode()
IJobpublic int getPriority()
IJobgetPriority in interface IJob