mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Add getNoDifferencesNoUpdateLine()
This commit is contained in:
@ -25,6 +25,7 @@ package com.kingsrook.qqq.backend.core.processes.implementations.general;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import com.kingsrook.qqq.backend.core.model.actions.processes.ProcessSummaryLine;
|
import com.kingsrook.qqq.backend.core.model.actions.processes.ProcessSummaryLine;
|
||||||
import com.kingsrook.qqq.backend.core.model.actions.processes.ProcessSummaryLineInterface;
|
import com.kingsrook.qqq.backend.core.model.actions.processes.ProcessSummaryLineInterface;
|
||||||
|
import com.kingsrook.qqq.backend.core.model.actions.processes.Status;
|
||||||
import static com.kingsrook.qqq.backend.core.model.actions.processes.Status.ERROR;
|
import static com.kingsrook.qqq.backend.core.model.actions.processes.Status.ERROR;
|
||||||
import static com.kingsrook.qqq.backend.core.model.actions.processes.Status.OK;
|
import static com.kingsrook.qqq.backend.core.model.actions.processes.Status.OK;
|
||||||
|
|
||||||
@ -80,6 +81,20 @@ public class StandardProcessSummaryLineProducer
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
**
|
||||||
|
*******************************************************************************/
|
||||||
|
public static ProcessSummaryLine getNoDifferencesNoUpdateLine()
|
||||||
|
{
|
||||||
|
return new ProcessSummaryLine(Status.INFO)
|
||||||
|
.withSingularFutureMessage("has no differences and will not be updated")
|
||||||
|
.withPluralFutureMessage("have no differences and will not be updated")
|
||||||
|
.withSingularPastMessage("has no differences and was not updated")
|
||||||
|
.withPluralPastMessage("have no differences and were not updated");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Make a line that'll say " had an error"
|
** Make a line that'll say " had an error"
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
Reference in New Issue
Block a user