Package org.bonitasoft.engine.log
Class LogMessageBuilder
java.lang.Object
org.bonitasoft.engine.log.LogMessageBuilder
- Author:
- Elias Ricken de Medeiros
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildExecuteTaskContextMessage(SFlowNodeInstance flowNodeInstance, String username, long executerUserId, long executerSubstituteId, Map<String, Serializable> inputs) static StringbuildFlowNodeContextMessage(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 StringbuilUserActionPrefix(SSession session, long starterId) Build message "The user <session.getUsername> (acting as delegate of user with id)"
-
Constructor Details
-
LogMessageBuilder
public LogMessageBuilder()
-
-
Method Details
-
buildFlowNodeContextMessage
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 String buildExecuteTaskContextMessage(SFlowNodeInstance flowNodeInstance, String username, long executerUserId, long executerSubstituteId, Map<String, Serializable> inputs) -
builUserActionPrefix
Build message "The user <session.getUsername> (acting as delegate of user with id)" - Parameters:
session-starterId-- Returns:
-