public class JobDefinition extends Object implements Serializable
Transcoder, with a mime type for which it must be valid, and a list of analyzers.| Modifier and Type | Field and Description |
|---|---|
(package private) List<Analyzer> |
analyzers |
(package private) String |
id |
(package private) String |
inId |
(package private) String |
label |
(package private) MimeType |
mimeType |
(package private) Stage |
stage |
(package private) Transcoder |
transcoder |
| Constructor and Description |
|---|
JobDefinition(String id,
String inId,
String label,
Transcoder t,
MimeType mt,
Stage s)
Creates a JobDefinition template as used in the configuration container or to kick-start
a transcoding.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAnalyzer(Analyzer a) |
void |
addAnalyzers(List<Analyzer> l) |
List<Analyzer> |
getAnalyzers() |
String |
getId() |
String |
getInId() |
String |
getLabel() |
MimeType |
getMimeType() |
Stage |
getStage() |
Transcoder |
getTranscoder() |
String |
toString() |
final Transcoder transcoder
final MimeType mimeType
final String inId
final String id
final String label
final Stage stage
public JobDefinition(String id, String inId, String label, Transcoder t, MimeType mt, Stage s)
id - identifier of this job, normally matches the one in configurationinId - identifier of the jobdefinition or cache that is used as input.
If no inId is found the orginal source is used, otherwise it should match with
a preceding jobdefinition id in config or a node number of an already existing cache.label - description for user purposes of the resultt - transcoder to perform the jobmt - mime type for which the jobdefinition is valids - stage the jobdefinition applies toMMBase 1.9-SNAPSHOT - ${javadoctimestamp}