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 TypeMethodDescriptionvoid
addSelfToInstance
(QInstance qInstance) call the appropriate methods on a QInstance to add ourselves to it.getName()
Getter for namegetType()
Getter for typeabstract QSchedulerInterface
initSchedulerInstance
(QInstance qInstance, Supplier<QSession> systemSessionSupplier) boolean
void
Setter for namevoid
Setter for typeboolean
Fluent 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:
getName
in 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:MetaDataProducerOutput
call the appropriate methods on a QInstance to add ourselves to it.- Specified by:
addSelfToInstance
in interfaceMetaDataProducerOutput
- Specified by:
addSelfToInstance
in interfaceTopLevelMetaDataInterface
-