Class ScheduleAllNewJobsProcess
java.lang.Object
com.kingsrook.qqq.backend.core.scheduler.processes.ScheduleAllNewJobsProcess
- All Implemented Interfaces:
BackendStep,MetaDataProducerInterface<QProcessMetaData>
public class ScheduleAllNewJobsProcess
extends Object
implements BackendStep, MetaDataProducerInterface<QProcessMetaData>
Management process to schedule all new scheduled jobs (in all schedulers).
-
Field Summary
Fields inherited from interface com.kingsrook.qqq.backend.core.model.metadata.MetaDataProducerInterface
DEFAULT_SORT_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProduce the metaData object.voidrun(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Execute the backend step - using the request as input, and the result as output.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.MetaDataProducerInterface
getSortOrder, getSourceClass, isEnabled, setSourceClass
-
Constructor Details
-
ScheduleAllNewJobsProcess
public ScheduleAllNewJobsProcess()
-
-
Method Details
-
produce
Description copied from interface:MetaDataProducerInterfaceProduce the metaData object. Generally, you don't want to add it to the instance yourself - but the instance is there in case you need it to get other metaData.- Specified by:
producein interfaceMetaDataProducerInterface<QProcessMetaData>- Throws:
QException
-
run
public void run(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) throws QException Description copied from interface:BackendStepExecute the backend step - using the request as input, and the result as output. TODO - think about - why take the Result object as a param, instead of return it? Is this way easier for inter-language operability maybe? Also - there's way too much "process-specific gunk" in the Request object - can we simplify it?- Specified by:
runin interfaceBackendStep- Throws:
QException
-