|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.streams.createcaches.Result
public abstract class Result
When executing an actual JobDefinition the result is contained in an object like this.
| Field Summary | |
|---|---|
(package private) JobDefinition |
definition
|
(package private) URI |
in
|
(package private) boolean |
ready
|
| Constructor Summary | |
|---|---|
Result(JobDefinition def,
URI in)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final JobDefinition definition
final URI in
boolean ready
| Constructor Detail |
|---|
Result(JobDefinition def,
URI in)
| Method Detail |
|---|
JobDefinition getJobDefinition()
public abstract Node getDestination()
null if that is not applicable (for recognizers).
public abstract URI getOut()
null if that is not applicable
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||