org.mmbase.streams.createcaches
Class JobDefinition
java.lang.Object
org.mmbase.streams.createcaches.JobDefinition
- All Implemented Interfaces:
- Serializable
public class JobDefinition
- extends Object
- implements Serializable
The description or definition of one 'transcoding' sub job that's doing the transcoding. This
combines a Transcoder, with a mime type for which it must be valid, and a list of analyzers.
- Version:
- $Id: JobDefinition.java 42417 2010-06-07 14:16:36Z andre $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
transcoder
final Transcoder transcoder
analyzers
final List<Analyzer> analyzers
mimeType
final MimeType mimeType
inId
final String inId
id
final String id
label
final String label
stage
final Stage stage
JobDefinition
public 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.
- Parameters:
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 to
getTranscoder
public Transcoder getTranscoder()
addAnalyzer
public void addAnalyzer(Analyzer a)
addAnalyzers
public void addAnalyzers(List<Analyzer> l)
getAnalyzers
public List<Analyzer> getAnalyzers()
getMimeType
public MimeType getMimeType()
getStage
public Stage getStage()
getId
public String getId()
getInId
public String getInId()
getLabel
public String getLabel()
toString
public String toString()
- Overrides:
toString in class Object
MMBase 2.0-SNAPSHOT - null