Class StandardProcessSummaryLineProducer
java.lang.Object
com.kingsrook.qqq.backend.core.processes.implementations.general.StandardProcessSummaryLineProducer
Helper for working with process summary lines
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessSummaryLine
Make a line that'll say " had an error"static ProcessSummaryLine
static ProcessSummaryLine
Make a line that'll say " {will be/was/were} deleted"static ProcessSummaryLine
Make a line that'll say " {will be/was/were} inserted"static ProcessSummaryLine
Make a line that'll say " {will be/was/were} updated"static ArrayList
<ProcessSummaryLineInterface> toArrayList
(ProcessSummaryLine... lines) one-liner for implementing getProcessSummary - just pass your lines in as varargs as in: return (StandardProcessSummaryLineProducer.toArrayList(okToInsert, okToUpdate));
-
Constructor Details
-
StandardProcessSummaryLineProducer
public StandardProcessSummaryLineProducer()
-
-
Method Details
-
getOkToInsertLine
Make a line that'll say " {will be/was/were} inserted" -
getOkToUpdateLine
Make a line that'll say " {will be/was/were} updated" -
getOkToDeleteLine
Make a line that'll say " {will be/was/were} deleted" -
getNoDifferencesNoUpdateLine
-
getErrorLine
Make a line that'll say " had an error" -
toArrayList
one-liner for implementing getProcessSummary - just pass your lines in as varargs as in: return (StandardProcessSummaryLineProducer.toArrayList(okToInsert, okToUpdate));
-