mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
CE-936 - Move per-record pause & resume to run on quartzJob tables, not trigger; update previewMessage
This commit is contained in:
@ -52,11 +52,12 @@ public class PauseQuartzJobsProcess extends AbstractLoadStep implements MetaData
|
||||
@Override
|
||||
public QProcessMetaData produce(QInstance qInstance) throws QException
|
||||
{
|
||||
String tableName = "quartzTriggers";
|
||||
String tableName = "quartzJobDetails";
|
||||
|
||||
return StreamedETLWithFrontendProcess.processMetaDataBuilder()
|
||||
.withName(getClass().getSimpleName())
|
||||
.withLabel("Pause Quartz Jobs")
|
||||
.withPreviewMessage("This is a preview of the jobs that will be paused.")
|
||||
.withTableName(tableName)
|
||||
.withSourceTable(tableName)
|
||||
.withDestinationTable(tableName)
|
||||
|
@ -52,11 +52,12 @@ public class ResumeQuartzJobsProcess extends AbstractLoadStep implements MetaDat
|
||||
@Override
|
||||
public QProcessMetaData produce(QInstance qInstance) throws QException
|
||||
{
|
||||
String tableName = "quartzTriggers";
|
||||
String tableName = "quartzJobDetails";
|
||||
|
||||
return StreamedETLWithFrontendProcess.processMetaDataBuilder()
|
||||
.withName(getClass().getSimpleName())
|
||||
.withLabel("Resume Quartz Jobs")
|
||||
.withPreviewMessage("This is a preview of the jobs that will be resumed.")
|
||||
.withTableName(tableName)
|
||||
.withSourceTable(tableName)
|
||||
.withDestinationTable(tableName)
|
||||
|
Reference in New Issue
Block a user