Method MergeWithOverrideProperties
MergeWithOverrideProperties(Ticket, List<TicketFieldOverrideConfig>, TicketFieldResolver, AlarmEventMessage)
Merges the alarm properties and default values in the ticket fields as defined in the override fields.
public static Ticket MergeWithOverrideProperties(Ticket baseTicket, List<TicketFieldOverrideConfig> overrideFields, TicketFieldResolver resolver, AlarmEventMessage alarm)
Parameters
baseTicket
TicketTo be merged Ticket.
overrideFields
List<TicketFieldOverrideConfig>Override fields that define the ticket fields.
resolver
TicketFieldResolverResolver that is linked to the ticket.
alarm
AlarmEventMessageAlarmEventMessage that contains all alarm data.
Returns
- Ticket
Merged Ticket.
Remarks
Feature introduced in DataMiner 9.6.5 (21202).
Exceptions
- FailedParseAlarmPropertyException
Failed parsing alarm property.
- AlarmPropertyNameDoesNotExistException
An exposer with the specified name does not exist.
- TicketFieldDoesNotExistException
One of the override fields define a ticket field that is not in the resolver.