|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmisc.SchedulJob
public class SchedulJob
This class creates a new job for recording a stream You can select between weekly, once ....
| Field Summary | |
|---|---|
static int |
lastID
|
| Constructor Summary | |
|---|---|
SchedulJob(int schedulJobID,
int streamID,
long startTime,
long stopTime,
int howOftenID,
boolean enable,
java.lang.String comment)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getComment()
|
int |
getJobCount()
|
static int |
getNewID()
|
long |
getOldStopTime()
gets the time, where the stream should be stoped |
int |
getSchedulID()
|
long |
getStartTime()
|
java.lang.String |
getStartTimeAsLocaleTime()
return the start time as a located date+time string |
boolean |
getstatus()
get the current status for the job |
long |
getStopTime()
|
java.lang.String |
getStopTimeAsLocaleTime()
return the stop time as a located date+time string |
int |
getStreamID()
|
boolean |
isJobenabled()
|
java.lang.Boolean |
isOnceJob()
return true, if the job only record once else false |
void |
setComment(java.lang.String newComment)
the the comment for the scheduljob |
void |
setJobCounts(int howOftenID)
set the right parameter for the job |
void |
setJobEnabled(boolean enable)
The a new status. |
void |
setOldStopTime(long oldStopTime)
sets the new oldStopTime, where the stream should be stoped |
void |
setSchedulJobID(int newSchedulID)
|
void |
setStartTime(long newStartTime)
set the startTime to an new value |
void |
setStatus(boolean newStatus)
Set the new status for a schedul job |
void |
setStopTime(long newStopTime)
set the stopTime to an new va |
void |
setStreamID(int newStreamID)
Set an new value for the recording stream id |
void |
setUseOldStopTime(boolean use)
set the status for the oldStopTime |
boolean |
useOldStopTime()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int lastID
| Constructor Detail |
|---|
public SchedulJob(int schedulJobID,
int streamID,
long startTime,
long stopTime,
int howOftenID,
boolean enable,
java.lang.String comment)
schedulJobID: - the job ID of this job in xml-filestreamID: - the ID in xml-file for the recording streamstartTime: - start time in millsstopTime: - stop time in millshowOftenID: - 0=daily; 1=weekly; 2=monthly; else onceenable: - enable this schedulJobcomment: - the comment for this streamstreamName: - the streamName for the streamID| Method Detail |
|---|
public static int getNewID()
public void setSchedulJobID(int newSchedulID)
newSchedulID: - the ID that this schedulJob has in the xml-filepublic void setStreamID(int newStreamID)
id: - the ID witch representing the stream
witch should be recorded in the xml-filepublic void setStartTime(long newStartTime)
startTime: - The new startTime in millspublic void setStopTime(long newStopTime)
newStopTime: - the new stoptime in millspublic void setOldStopTime(long oldStopTime)
oldStopTime: - time in millisecondspublic void setJobEnabled(boolean enable)
enable: - true, if the stream should start recordingpublic void setJobCounts(int howOftenID)
howOftenID: - 0=daily; 1=weekly; 2=monthly; else oncepublic void setComment(java.lang.String newComment)
newComment: - the new commentpublic int getStreamID()
public int getSchedulID()
public long getStartTime()
public long getStopTime()
public long getOldStopTime()
public java.lang.String getStartTimeAsLocaleTime()
public java.lang.String getStopTimeAsLocaleTime()
public int getJobCount()
public boolean isJobenabled()
public java.lang.String getComment()
public java.lang.Boolean isOnceJob()
public boolean useOldStopTime()
public void setUseOldStopTime(boolean use)
use, - if the old start time should be usedpublic void setStatus(boolean newStatus)
newStatus: - true for "is currently recording", else falsepublic boolean getstatus()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||