Class AttributeDecisionTraceMessage

java.lang.Object
com.aquima.interactions.trace.impl.TraceMessageBase
com.aquima.interactions.trace.impl.AttributeDecisionTraceMessage
All Implemented Interfaces:
ITraceMessage, Serializable

public final class AttributeDecisionTraceMessage extends TraceMessageBase
This trace message is constructed to trace a decision tree from a service call. This object is constructed with the required and optional properties.
Since:
9.3
Author:
J. Hermus
See Also:
  • Field Details

  • Method Details

    • forDecision

      public static ITraceMessage forDecision(String applicationId, DMNDecisionTree decisionTree, String decisionType, IValue referenceIds, String userId, String userName, Map<String,String> justificationTexts)
      This method creates a trace message for the given decision
      Parameters:
      applicationId - The unique id of the application this decision belongs to, may not be null
      decisionTree - The decision requirements graph, may not be null
      decisionType - The type of the decision, may be null
      referenceIds - A list of strings that may be used as a reference when looking up a decision, may be null
      userId - the user id
      userName - the user name
      justificationTexts - map containing justification texts for each justificationTextId that was used for drg
      Returns:
      a new trace message