Add getNoDifferencesNoUpdateLine()

This commit is contained in:
2023-12-07 12:21:25 -06:00
parent 376438bdc5
commit 000a01eb88

View File

@ -25,6 +25,7 @@ package com.kingsrook.qqq.backend.core.processes.implementations.general;
import java.util.ArrayList;
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.Status;
import static com.kingsrook.qqq.backend.core.model.actions.processes.Status.ERROR;
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"
*******************************************************************************/