Class ResumeAllQuartzJobsProcess
java.lang.Object
com.kingsrook.qqq.backend.core.scheduler.quartz.processes.ResumeAllQuartzJobsProcess
- All Implemented Interfaces:
BackendStep
,MetaDataProducerInterface<QProcessMetaData>
public class ResumeAllQuartzJobsProcess
extends Object
implements BackendStep, MetaDataProducerInterface<QProcessMetaData>
Manage process to resume all quartz jobs
-
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.void
run
(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, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.MetaDataProducerInterface
getSortOrder, getSourceClass, isEnabled, setSourceClass
-
Constructor Details
-
ResumeAllQuartzJobsProcess
public ResumeAllQuartzJobsProcess()
-
-
Method Details
-
produce
Description copied from interface:MetaDataProducerInterface
Produce 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:
produce
in interfaceMetaDataProducerInterface<QProcessMetaData>
- Throws:
QException
-
run
public void run(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) throws QException Description copied from interface:BackendStep
Execute 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:
run
in interfaceBackendStep
- Throws:
QException
-