Class Ingestor
java.lang.Object
org.opencastproject.ingest.scanner.Ingestor
- All Implemented Interfaces:
Runnable
Used by the
InboxScannerService to do the actual ingest.-
Constructor Summary
ConstructorsConstructorDescriptionIngestor(IngestService ingestService, SecurityContext secCtx, String workflowDefinition, Map<String, String> workflowConfig, String mediaFlavor, File inbox, int maxThreads, SeriesService seriesService, int maxTries, int secondsBetweenTries, Optional<Pattern> metadataPattern, DateTimeFormatter dateFormatter, SchedulerService schedulerService, String ffprobe, boolean matchSchedule, float matchThreshold, Workspace workspace) Create new ingestor. -
Method Summary
-
Constructor Details
-
Ingestor
public Ingestor(IngestService ingestService, SecurityContext secCtx, String workflowDefinition, Map<String, String> workflowConfig, String mediaFlavor, File inbox, int maxThreads, SeriesService seriesService, int maxTries, int secondsBetweenTries, Optional<Pattern> metadataPattern, DateTimeFormatter dateFormatter, SchedulerService schedulerService, String ffprobe, boolean matchSchedule, float matchThreshold, Workspace workspace) Create new ingestor.- Parameters:
ingestService- media packages are passed to the ingest servicesecCtx- security context needed for ingesting with the IngestService or for putting files into the working file repositoryworkflowDefinition- workflow to apply to ingested media packagesworkflowConfig- the workflow definition configurationmediaFlavor- media flavor to use by defaultinbox- inbox directory to watchmaxThreads- maximum worker threads doing the actual ingestseriesService- reference to the active series servicemaxTries- maximum tries for a ingest jobsecondsBetweenTries- time between retires in secondsmetadataPattern- regular expression pattern for matching metadata in file namesdateFormatter- date formatter pattern for parsing temporal metadata
-
-
Method Details