|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IJobQueue.Props> org.jmythapi.database.IJobQueue.Props
public static enum IJobQueue.Props
Enum Constant Summary | |
---|---|
ARGS
Args. |
|
CHANNEL_ID
Channel ID. |
|
COMMANDS
Commands. |
|
COMMENT
Comment. |
|
FLAGS
Flags. |
|
HOSTNAME
Hostname. |
|
ID
Job ID. |
|
INSERT_TIME
Insert Time. |
|
REC_START_TIME
Recording Start Time. |
|
SCHEDULED_RUN_TIME
Scheduled Run Time. |
|
STATUS
Status. |
|
STATUS_TIME
Status Time. |
|
TYPE
Job Type. |
Method Summary | |
---|---|
static IJobQueue.Props |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IJobQueue.Props[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IJobQueue.Props ID
A unique identifier for entries in the table.
id INTEGER NOT NULL AUTO_INCREMENT
public static final IJobQueue.Props CHANNEL_ID
Relates to the chanid field of the channel table.
chanid INTEGER(10) NOT NULL
public static final IJobQueue.Props REC_START_TIME
the start time of the recording.
starttime DATETIME NOT NULL
public static final IJobQueue.Props INSERT_TIME
the time the job was queued.
inserttime DATETIME NOT NULL
public static final IJobQueue.Props TYPE
the type of job
type INTEGER NOT NULL
public static final IJobQueue.Props COMMANDS
RUN = 0x0000, PAUSE = 0x0001, RESUME = 0x0002, STOP = 0x0004, RESTART = 0x0008
cmds INTEGER NOT NULL DEFAULT 0/
public static final IJobQueue.Props FLAGS
NO_FLAGS = 0x0000, USE_CUTLIST = 0x0001, LIVE_REC = 0x0002, EXTERNAL = 0x0004
flags INTEGER NOT NULL DEFAULT 0
public static final IJobQueue.Props STATUS
UNKNOWN = 0x0000, QUEUED = 0x0001, PENDING = 0x0002, STARTING = 0x0003, RUNNING = 0x0004, STOPPING = 0x0005, PAUSED = 0x0006, RETRY = 0x0007, ERRORING = 0x0008, ABORTING = 0x0009, DONE = 0x0100, FINISHED = 0x0110, ABORTED = 0x0120, ERRORED = 0x0130, CANCELLED = 0x0140
status INTEGER NOT NULL DEFAULT 0
public static final IJobQueue.Props STATUS_TIME
the time the status was last updated.
statustime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
public static final IJobQueue.Props HOSTNAME
hostname varchar(64) NOT NULL DEFAULT ''
public static final IJobQueue.Props ARGS
args BLOB NOT NULL DEFAULT ''/
public static final IJobQueue.Props COMMENT
comment VARCHAR(128) NOT NULL DEFAULT ''/
public static final IJobQueue.Props SCHEDULED_RUN_TIME
the time that the job should run.
TODO: what about the default value?
"ALTER TABLE jobqueue ADD schedruntime datetime NOT NULL default '2007-01-01 00:00:00'
Method Detail |
---|
public static IJobQueue.Props[] values()
for (IJobQueue.Props c : IJobQueue.Props.values()) System.out.println(c);
public static IJobQueue.Props valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |