Class SpeechToTextWorkflowSchedulerQuartz
java.lang.Object
org.opencastproject.kernel.scanner.AbstractScanner
org.opencastproject.speechtotext.async.impl.SpeechToTextWorkflowSchedulerQuartz
Quartz job to start workflows to asynchronously attach captions generated by the SpeechToText service.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQuartz job for automatically starting workflowsNested classes/interfaces inherited from class org.opencastproject.kernel.scanner.AbstractScanner
AbstractScanner.TypedQuartzJob<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.opencastproject.kernel.scanner.AbstractScanner
JOB_PARAM_PARENT, PARAM_KEY_CRON_EXPR, PARAM_KEY_ENABLED, quartz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOSGi callback to set organization directory servicevoidbindSecurityService(SecurityService service) OSGi callback to set security servicevoidbindServiceRegistry(ServiceRegistry service) voidOSGi deactivate component callback.The name of the job group to schedule this quartz job under.The name of the jobThe name of the scanner to use in log files.The name of the group to store the quartz triggers under.The name of the triggers to use for the quartz jobs.voidscan()voidsetAssetManager(AssetManager service) voidsetDatabase(SpeechToTextDatabase database) voidvoidsetWorkflowService(WorkflowService workflowService) voidMethods inherited from class org.opencastproject.kernel.scanner.AbstractScanner
activate, getAdminContextFor, getCronExpression, getOrganizationDirectoryService, getQuartz, getServiceRegistry, getSystemUserName, isEnabled, schedule, setCronExpression, setEnabled, setQuartz, shutdown, trigger, unschedule
-
Field Details
-
JOB_GROUP
- See Also:
-
JOB_NAME
- See Also:
-
SCANNER_NAME
- See Also:
-
TRIGGER_GROUP
- See Also:
-
TRIGGER_NAME
- See Also:
-
ABANDON_AFTER_SECS
- See Also:
-
WORKFLOW
- See Also:
-
WORKFLOW_RETRY
- See Also:
-
MAX_TRIES
- See Also:
-
-
Constructor Details
-
SpeechToTextWorkflowSchedulerQuartz
public SpeechToTextWorkflowSchedulerQuartz()
-
-
Method Details
-
deactivate
public void deactivate()Description copied from class:AbstractScannerOSGi deactivate component callback.- Overrides:
deactivatein classAbstractScanner
-
updated
public void updated(org.osgi.service.component.ComponentContext cc, Map<String, Object> properties) throws org.osgi.service.cm.ConfigurationException- Throws:
org.osgi.service.cm.ConfigurationException
-
getJobGroup
Description copied from class:AbstractScannerThe name of the job group to schedule this quartz job under.- Specified by:
getJobGroupin classAbstractScanner
-
getJobName
Description copied from class:AbstractScannerThe name of the job- Specified by:
getJobNamein classAbstractScanner
-
getTriggerGroupName
Description copied from class:AbstractScannerThe name of the group to store the quartz triggers under.- Specified by:
getTriggerGroupNamein classAbstractScanner
-
getTriggerName
Description copied from class:AbstractScannerThe name of the triggers to use for the quartz jobs.- Specified by:
getTriggerNamein classAbstractScanner
-
setWfUtil
-
scan
public void scan()- Specified by:
scanin classAbstractScanner
-
getScannerName
Description copied from class:AbstractScannerThe name of the scanner to use in log files.- Specified by:
getScannerNamein classAbstractScanner
-
setDatabase
-
setAssetManager
-
setWorkflowService
-
bindSecurityService
Description copied from class:AbstractScannerOSGi callback to set security service- Overrides:
bindSecurityServicein classAbstractScanner
-
bindOrganizationDirectoryService
Description copied from class:AbstractScannerOSGi callback to set organization directory service- Overrides:
bindOrganizationDirectoryServicein classAbstractScanner
-
bindServiceRegistry
- Overrides:
bindServiceRegistryin classAbstractScanner
-