Class OldScheduledScanner
java.lang.Object
org.opencastproject.kernel.scanner.AbstractScanner
org.opencastproject.kernel.scanner.AbstractBufferScanner
org.opencastproject.scheduler.impl.OldScheduledScanner
- All Implemented Interfaces:
org.osgi.service.cm.ManagedService
public class OldScheduledScanner
extends AbstractBufferScanner
implements org.osgi.service.cm.ManagedService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQuartz job to which cleans up the workflow instancesNested 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 StringFields inherited from class org.opencastproject.kernel.scanner.AbstractBufferScanner
buffer, PARAM_KEY_BUFFERFields 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 TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) OSGi component activate callbackvoidbindOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) OSGi callback to set organization directory servicevoidbindSecurityService(SecurityService securityService) OSGi callback to set security servicevoidbindServiceRegistry(ServiceRegistry serviceRegistry) 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()voidsetQuartz(org.quartz.Scheduler quartz) voidsetService(SchedulerService service) Method to set the service this REST endpoint usesvoidunsetService(SchedulerService service) Method to unset the service this REST endpoint usesMethods inherited from class org.opencastproject.kernel.scanner.AbstractBufferScanner
getBuffer, setBuffer, updatedMethods inherited from class org.opencastproject.kernel.scanner.AbstractScanner
finalize, getAdminContextFor, getCronExpression, getOrganizationDirectoryService, getQuartz, getServiceRegistry, getSystemUserName, isEnabled, schedule, setCronExpression, setEnabled, shutdown, trigger, unscheduleMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.osgi.service.cm.ManagedService
updated
-
Field Details
-
SCANNER_NAME
- See Also:
-
JOB_GROUP
- See Also:
-
JOB_NAME
- See Also:
-
TRIGGER_GROUP
- See Also:
-
TRIGGER_NAME
- See Also:
-
-
Constructor Details
-
OldScheduledScanner
public OldScheduledScanner()
-
-
Method Details
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) Description copied from class:AbstractScannerOSGi component activate callback- Overrides:
activatein classAbstractScanner
-
deactivate
public void deactivate()Description copied from class:AbstractScannerOSGi deactivate component callback.- Overrides:
deactivatein classAbstractScanner
-
setService
Method to set the service this REST endpoint uses- Parameters:
service-
-
bindServiceRegistry
- Overrides:
bindServiceRegistryin classAbstractScanner
-
bindOrganizationDirectoryService
public void bindOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) Description copied from class:AbstractScannerOSGi callback to set organization directory service- Overrides:
bindOrganizationDirectoryServicein classAbstractScanner
-
bindSecurityService
Description copied from class:AbstractScannerOSGi callback to set security service- Overrides:
bindSecurityServicein classAbstractScanner
-
setQuartz
public void setQuartz(org.quartz.Scheduler quartz) - Overrides:
setQuartzin classAbstractScanner
-
unsetService
Method to unset the service this REST endpoint uses- Parameters:
service-
-
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
-
getScannerName
Description copied from class:AbstractScannerThe name of the scanner to use in log files.- Specified by:
getScannerNamein classAbstractScanner
-
scan
public void scan()- Specified by:
scanin classAbstractScanner
-