|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectMovieLibrary.ConvertingJob
public class ConvertingJob
Converting job object
Contains the information required to convert a video
Such as video path, conversion profile, crop settings...
| Constructor Summary | |
|---|---|
ConvertingJob(ConvertingJob reqConvertingJob)
|
|
ConvertingJob(CropSettings reqCrop,
ConversionProfile reqProfile,
VideoObject reqVideo,
java.lang.String reqTitle,
int reqIndex)
Constructor for a converting job |
|
ConvertingJob(java.io.File jobFile)
|
|
| Method Summary | |
|---|---|
ConversionProfile |
getConversionProfile()
get conversion profile for current job |
CropSettings |
getCropSettings()
get crop settings for current job |
java.lang.String |
getDisabledTitle()
|
java.lang.String |
getErrorTitle()
|
java.lang.String |
getJobPath()
returns the path of this job |
java.lang.String |
getProcessedTitle(java.lang.String timeElapsed)
|
java.lang.String |
getProcessingTitle()
|
java.lang.String |
getTitle()
|
VideoObject |
getVideoToConvert()
get the video to be converted in this job |
boolean |
hasBeenDisabled()
|
boolean |
hasJobFinished()
has this job finished converting |
boolean |
isJobDoneSuccessfully()
|
boolean |
isJobEnabled()
is this job enabled, will it be converted |
boolean |
isJobRunning()
is this job running |
boolean |
saveJob(boolean overwrite)
|
void |
setConversionProfile(ConversionProfile reqProfile)
sets the conversion profile for this job |
void |
setCropSettings(CropSettings reqCrop)
sets the crop settings for this job |
void |
setIndex(int reqIndex)
|
void |
setJobEnabled(boolean jobStatus)
set job to enabled, will be converted once it is its turn |
void |
setJobFinished(boolean jobStatus)
set job to finished converting |
void |
setJobRunning(boolean jobStatus)
set this job to start converting |
void |
setJobSuccessful(boolean jobStatus)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConvertingJob(CropSettings reqCrop,
ConversionProfile reqProfile,
VideoObject reqVideo,
java.lang.String reqTitle,
int reqIndex)
reqCrop - crop settings for this jobreqProfile - conversion profile for this jobreqVideo - video to convertreqTitle - video job titlepublic ConvertingJob(ConvertingJob reqConvertingJob)
public ConvertingJob(java.io.File jobFile)
| Method Detail |
|---|
public void setCropSettings(CropSettings reqCrop)
reqCrop - crop settings to set for this jobpublic void setConversionProfile(ConversionProfile reqProfile)
reqProfile - conversion profile to set for this jobpublic CropSettings getCropSettings()
public ConversionProfile getConversionProfile()
public VideoObject getVideoToConvert()
public void setJobFinished(boolean jobStatus)
jobStatus - status of jobpublic boolean hasJobFinished()
public void setJobRunning(boolean jobStatus)
jobStatus - status of this jobpublic boolean isJobRunning()
public void setJobEnabled(boolean jobStatus)
jobStatus - job statuspublic boolean isJobEnabled()
public java.lang.String getTitle()
public java.lang.String getProcessingTitle()
public java.lang.String getProcessedTitle(java.lang.String timeElapsed)
public java.lang.String getErrorTitle()
public java.lang.String getDisabledTitle()
public void setIndex(int reqIndex)
public void setJobSuccessful(boolean jobStatus)
public boolean isJobDoneSuccessfully()
public boolean hasBeenDisabled()
public boolean saveJob(boolean overwrite)
public java.lang.String getJobPath()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||