Class LogMessageBuilder


  • public class LogMessageBuilder
    extends java.lang.Object
    Author:
    Elias Ricken de Medeiros
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildExecuteTaskContextMessage​(SFlowNodeInstance flowNodeInstance, java.lang.String username, long executerUserId, long executerSubstituteId, java.util.Map<java.lang.String,​java.io.Serializable> inputs)  
      static java.lang.String buildFlowNodeContextMessage​(SFlowNodeInstance flowNodeInstance)
      Build the log message using the flow node's context (display name, id, parent activity id, parent process instance id, root process instance id, and process definition id)
      static java.lang.String builUserActionPrefix​(SSession session, long starterId)
      Build message "The user (acting as delegate of user with id )"
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LogMessageBuilder

        public LogMessageBuilder()
    • Method Detail

      • buildFlowNodeContextMessage

        public static java.lang.String buildFlowNodeContextMessage​(SFlowNodeInstance flowNodeInstance)
        Build the log message using the flow node's context (display name, id, parent activity id, parent process instance id, root process instance id, and process definition id)
        Parameters:
        flowNodeInstance -
        Returns:
        the message log built using the flow node's context.
      • buildExecuteTaskContextMessage

        public static java.lang.String buildExecuteTaskContextMessage​(SFlowNodeInstance flowNodeInstance,
                                                                      java.lang.String username,
                                                                      long executerUserId,
                                                                      long executerSubstituteId,
                                                                      java.util.Map<java.lang.String,​java.io.Serializable> inputs)
      • builUserActionPrefix

        public static java.lang.String builUserActionPrefix​(SSession session,
                                                            long starterId)
        Build message "The user (acting as delegate of user with id )"
        Parameters:
        session -
        starterId -
        Returns: