Class AlertConfigurationCollection
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,AlertDefinitionCollection>
-
- com.thingworx.system.subsystems.alerts.data.AlertConfigurationCollection
-
- All Implemented Interfaces:
IDiffableObject
,java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,AlertDefinitionCollection>
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class AlertConfigurationCollection extends java.util.HashMap<java.lang.String,AlertDefinitionCollection> implements IDiffableObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertConfigurationCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOrUpdateAlertDefinition(java.lang.String property, AlertDefinition alertDefinition)
void
deleteAlertDefinition(java.lang.String property, java.lang.String alertName)
AlertDefinition
getAlertDefinition(java.lang.String property, java.lang.String name)
AlertDefinitionCollection
getAlertDefinitionsForProperty(java.lang.String propertyName)
java.lang.Boolean
hasAlertDefinition(java.lang.String property, java.lang.String name)
void
mergeAlertConfigurations(AlertConfigurationCollection alerts)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getAlertDefinitionsForProperty
@ThingworxExtensionApiMethod(since={6,6}) public AlertDefinitionCollection getAlertDefinitionsForProperty(java.lang.String propertyName)
-
getAlertDefinition
@ThingworxExtensionApiMethod(since={6,6}) public AlertDefinition getAlertDefinition(java.lang.String property, java.lang.String name)
-
hasAlertDefinition
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean hasAlertDefinition(java.lang.String property, java.lang.String name)
-
addOrUpdateAlertDefinition
@ThingworxExtensionApiMethod(since={6,6}) public void addOrUpdateAlertDefinition(java.lang.String property, AlertDefinition alertDefinition)
-
deleteAlertDefinition
@ThingworxExtensionApiMethod(since={6,6}) public void deleteAlertDefinition(java.lang.String property, java.lang.String alertName)
-
mergeAlertConfigurations
@ThingworxExtensionApiMethod(since={6,6}) public void mergeAlertConfigurations(AlertConfigurationCollection alerts)
-
-