Class StandardProcessSummaryLineProducer

java.lang.Object
com.kingsrook.qqq.backend.core.processes.implementations.general.StandardProcessSummaryLineProducer

public class StandardProcessSummaryLineProducer extends Object
Helper for working with process summary lines
  • Constructor Details

    • StandardProcessSummaryLineProducer

      public StandardProcessSummaryLineProducer()
  • Method Details

    • getOkToInsertLine

      public static ProcessSummaryLine getOkToInsertLine()
      Make a line that'll say " {will be/was/were} inserted"
    • getOkToUpdateLine

      public static ProcessSummaryLine getOkToUpdateLine()
      Make a line that'll say " {will be/was/were} updated"
    • getOkToDeleteLine

      public static ProcessSummaryLine getOkToDeleteLine()
      Make a line that'll say " {will be/was/were} deleted"
    • getNoDifferencesNoUpdateLine

      public static ProcessSummaryLine getNoDifferencesNoUpdateLine()
    • getErrorLine

      public static ProcessSummaryLine getErrorLine()
      Make a line that'll say " had an error"
    • toArrayList

      public 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));