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