public abstract class Result extends Object
JobDefinition the result is contained in an object like this.| Modifier and Type | Field and Description |
|---|---|
(package private) JobDefinition |
definition |
(package private) URI |
in |
(package private) boolean |
ready |
| Constructor and Description |
|---|
Result(JobDefinition def,
URI in) |
| Modifier and Type | Method and Description |
|---|---|
abstract Node |
getDestination()
The Node receiving the result or
null if that is not applicable (for recognizers). |
URI |
getIn()
The file containing the input for the job.
|
(package private) JobDefinition |
getJobDefinition() |
abstract MimeType |
getMimeType()
On what kind of inputs this result can work.
|
abstract URI |
getOut()
The file receiving the result, or
null if that is not applicable |
Stage |
getStage()
To what
Stage of the transcoding process this result belongs. |
boolean |
isReady() |
void |
ready()
Marks this result as ready, meaning that there is nothing left to be done and
isReady() will return true from now on. |
final JobDefinition definition
final URI in
boolean ready
Result(JobDefinition def, URI in)
JobDefinition getJobDefinition()
public abstract Node getDestination()
null if that is not applicable (for recognizers).public abstract URI getOut()
null if that is not applicablepublic URI getIn()
public void ready()
isReady() will return true from now on.
Also, extensions may override this with extra functionality which can only be done if transcoding is ready.public boolean isReady()
public abstract MimeType getMimeType()
public final Stage getStage()
Stage of the transcoding process this result belongs. Either Stage.RECOGNIZER or Stage.TRANSCODER.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}