Class TraceMessageBase
java.lang.Object
com.aquima.interactions.trace.impl.TraceMessageBase
- All Implemented Interfaces:
ITraceMessage
,Serializable
- Direct Known Subclasses:
AggregateTraceMessage
,AttributeDecisionTraceMessage
,DocumentTraceMessage
,ProcessTraceMessage
,TraceMessage
Base class for process engine trace messages.
- Since:
- 9.2
- Author:
- A.Pragt
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TraceMessageBase
(String applicationId, String type) Default constructor for creating a trace message. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addProperty
(String name, IValue value) Adds a property to the message.Returns the application id of the trace message, not nullThe action of the trace message, not null.String[]
Returns the names of the properties, not null.getPropertyValue
(String name) Returns the value of a property, not null.
-
Constructor Details
-
TraceMessageBase
Default constructor for creating a trace message.- Parameters:
applicationId
- The application id to create a trace message for, cannot be null.type
- The type of trace message, cannot be null.
-
-
Method Details
-
addProperty
Adds a property to the message.- Parameters:
name
- The name of the property, not null.value
- The value of the property, not null.
-
getApplicationId
Description copied from interface:ITraceMessage
Returns the application id of the trace message, not null- Specified by:
getApplicationId
in interfaceITraceMessage
- Returns:
- The application id
-
getMessageType
Description copied from interface:ITraceMessage
The action of the trace message, not null.- Specified by:
getMessageType
in interfaceITraceMessage
- Returns:
- The action of the message.
-
getPropertyNames
Description copied from interface:ITraceMessage
Returns the names of the properties, not null.- Specified by:
getPropertyNames
in interfaceITraceMessage
- Returns:
- The property names.
-
getPropertyValue
Description copied from interface:ITraceMessage
Returns the value of a property, not null.- Specified by:
getPropertyValue
in interfaceITraceMessage
- Parameters:
name
- The name of the property, not null.- Returns:
- The value of the property, not null.
-
getProperties
-