Class QSchedulerMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.scheduleing.QSchedulerMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,TopLevelMetaDataInterface,Serializable
- Direct Known Subclasses:
QuartzSchedulerMetaData,SimpleSchedulerMetaData
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSelfToInstance(QInstance qInstance) call the appropriate methods on a QInstance to add ourselves to it.getName()Getter for namegetType()Getter for typeabstract QSchedulerInterfaceinitSchedulerInstance(QInstance qInstance, Supplier<QSession> systemSessionSupplier) booleanvoidSetter for namevoidSetter for typebooleanFluent setter for nameFluent setter for type
-
Constructor Details
-
QSchedulerMetaData
public QSchedulerMetaData()
-
-
Method Details
-
supportsCronSchedules
public boolean supportsCronSchedules() -
mayUseInScheduledJobsTable
public boolean mayUseInScheduledJobsTable() -
initSchedulerInstance
public abstract QSchedulerInterface initSchedulerInstance(QInstance qInstance, Supplier<QSession> systemSessionSupplier) throws QException - Throws:
QException
-
getName
Getter for name- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
setName
Setter for name -
withName
Fluent setter for name -
getType
Getter for type -
setType
Setter for type -
withType
Fluent setter for type -
addSelfToInstance
Description copied from interface:MetaDataProducerOutputcall the appropriate methods on a QInstance to add ourselves to it.- Specified by:
addSelfToInstancein interfaceMetaDataProducerOutput- Specified by:
addSelfToInstancein interfaceTopLevelMetaDataInterface
-