Class OutcomesContainerDetailsProvider

java.lang.Object
io.jmix.bpmflowui.view.processinstance.OutcomesContainerDetailsProvider

@Component("bpm_OutcomesContainerDetailsProvider") public class OutcomesContainerDetailsProvider extends Object
Class returns a string description of the OutcomesContainer instance. The class produces a string that describes outcomes stored inside the outcomes container. For example:
 UserTask: Task B (Activity_17lnq2b)
 User: alice, outcome: approve, date: 16/08/2023 13:08
 User: bob, outcome: reject, date: 16/08/2023 13:07
 
  • Field Details

    • historyService

      protected org.flowable.engine.HistoryService historyService
    • datatypeFormatter

      protected DatatypeFormatter datatypeFormatter
  • Constructor Details

    • OutcomesContainerDetailsProvider

      public OutcomesContainerDetailsProvider(org.flowable.engine.HistoryService historyService, DatatypeFormatter datatypeFormatter)
  • Method Details

    • getOutcomesContainerDescription

      public String getOutcomesContainerDescription(OutcomesContainer outcomesContainer, String itemsSeparator)
    • getSingleOutcomeDescription

      protected String getSingleOutcomeDescription(Outcome outcome)