Interface TranscodeJob
- All Known Implementing Classes:
TranscodeJobImpl
public interface TranscodeJob
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyseNow(TranscodeAnalysisListener listener) booleancanPause()longbooleangetError()getETA()longgetFile()intgetIndex()getName()intbooleanlongintgetState()intvoidmoveDown()voidmoveUp()voidpause()voidqueue()voidremove()voidvoidresume()voidsetEnableAutoRetry(boolean enabled) voidsetPreferDirectInput(boolean prefer) voidstop()
-
Field Details
-
ST_QUEUED
static final int ST_QUEUED- See Also:
-
ST_RUNNING
static final int ST_RUNNING- See Also:
-
ST_PAUSED
static final int ST_PAUSED- See Also:
-
ST_COMPLETE
static final int ST_COMPLETE- See Also:
-
ST_CANCELLED
static final int ST_CANCELLED- See Also:
-
ST_FAILED
static final int ST_FAILED- See Also:
-
ST_STOPPED
static final int ST_STOPPED- See Also:
-
ST_REMOVED
static final int ST_REMOVED- See Also:
-
-
Method Details
-
getName
String getName() -
getTarget
TranscodeTarget getTarget() -
getProfile
TranscodeProfile getProfile() -
getFile
DiskManagerFileInfo getFile() -
getTranscodeFile
TranscodeFile getTranscodeFile() -
getTranscodeRequirement
int getTranscodeRequirement() -
getIndex
int getIndex() -
getState
int getState() -
getDownloadETA
long getDownloadETA() -
getPercentComplete
int getPercentComplete() -
getETASecs
long getETASecs() -
getETA
String getETA() -
getError
String getError() -
setEnableAutoRetry
void setEnableAutoRetry(boolean enabled) -
getEnableAutoRetry
boolean getEnableAutoRetry() -
setPreferDirectInput
void setPreferDirectInput(boolean prefer) -
getPreferDirectInput
boolean getPreferDirectInput() -
canPause
boolean canPause() -
pause
void pause() -
resume
void resume() -
queue
void queue() -
stop
void stop() -
remove
- Throws:
TranscodeActionVetoException
-
removeForce
void removeForce() -
moveUp
void moveUp() -
moveDown
void moveDown() -
getProcessTime
long getProcessTime() -
analyseNow
- Throws:
TranscodeException
-