Class NopServiceImpl
java.lang.Object
org.opencastproject.job.api.AbstractJobProducer
org.opencastproject.job.api.OsgiAbstractJobProducer
org.opencastproject.serviceregistry.impl.NopServiceImpl
- All Implemented Interfaces:
JobProducer,NopService
No operation service.
This dummy service just exists for creating jobs for testing purposes.
-
Field Summary
FieldsFields inherited from class org.opencastproject.job.api.AbstractJobProducer
ACCEPT_JOB_LOADS_EXCEEDING_PROPERTY, acceptJobLoadsExeedingMaxLoad, DEFAULT_ACCEPT_JOB_LOADS_EXCEEDING, executor, jobType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnop()protected StringAsks the overriding class to process the arguments using the given operation.voidsetOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) voidsetSecurityService(SecurityService securityService) voidsetServiceRegistry(ServiceRegistry serviceRegistry) voidsetUserDirectoryService(UserDirectoryService userDirectoryService) Methods inherited from class org.opencastproject.job.api.OsgiAbstractJobProducer
getOrganizationDirectoryService, getSecurityService, getServiceRegistry, getUserDirectoryServiceMethods inherited from class org.opencastproject.job.api.AbstractJobProducer
acceptJob, activate, countJobs, finallyUpdateJob, getJobType, incident, isReadyToAccept, isReadyToAcceptJobs
-
Field Details
-
PAYLOAD
- See Also:
-
-
Constructor Details
-
NopServiceImpl
public NopServiceImpl()
-
-
Method Details
-
setServiceRegistry
- Overrides:
setServiceRegistryin classOsgiAbstractJobProducer
-
setSecurityService
- Overrides:
setSecurityServicein classOsgiAbstractJobProducer
-
setUserDirectoryService
- Overrides:
setUserDirectoryServicein classOsgiAbstractJobProducer
-
setOrganizationDirectoryService
public void setOrganizationDirectoryService(OrganizationDirectoryService organizationDirectoryService) - Overrides:
setOrganizationDirectoryServicein classOsgiAbstractJobProducer
-
process
Description copied from class:AbstractJobProducerAsks the overriding class to process the arguments using the given operation. The result will be added to the associated job as the payload.- Specified by:
processin classAbstractJobProducer- Parameters:
job- the job to process- Returns:
- the operation result
- Throws:
Exception
-
nop
- Specified by:
nopin interfaceNopService
-