Class AttributeDecisionTraceMessage
java.lang.Object
com.aquima.interactions.trace.impl.TraceMessageBase
com.aquima.interactions.trace.impl.AttributeDecisionTraceMessage
- All Implemented Interfaces:
ITraceMessage
,Serializable
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 decisionMethods inherited from class com.aquima.interactions.trace.impl.TraceMessageBase
addProperty, getApplicationId, getMessageType, getProperties, getPropertyNames, getPropertyValue
-
Field Details
-
ACTION_DECISION_BY_ATTRIBUTE
- See Also:
-
PROPERTY_DECISION_GRAPH
- See Also:
-
PROPERTY_ENTITY
- See Also:
-
PROPERTY_ATTRIBUTE
- See Also:
-
PROPERTY_DECISION_TYPE
- See Also:
-
PROPERTY_REFERENCE_IDS
- See Also:
-
PROPERTY_USER_ID
- See Also:
-
PROPERTY_USER_NAME
- See Also:
-
-
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 nulldecisionTree
- The decision requirements graph, may not be nulldecisionType
- The type of the decision, may be nullreferenceIds
- A list of strings that may be used as a reference when looking up a decision, may be nulluserId
- the user iduserName
- the user namejustificationTexts
- map containing justification texts for each justificationTextId that was used for drg- Returns:
- a new trace message
-