Class AlertDefinition
- java.lang.Object
-
- com.thingworx.types.NamedObject
-
- com.thingworx.system.subsystems.alerts.data.AlertDefinition
-
- All Implemented Interfaces:
IDiffableObject
,INamedObject
,java.io.Serializable
,java.lang.Cloneable
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class AlertDefinition extends NamedObject implements java.lang.Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.thingworx.types.NamedObject
NAME_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description AlertDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertTypes.AlertType
getAlertType()
IPrimitiveType
getAttribute(java.lang.String parameterName)
BaseTypes
getAttributeType(java.lang.String parameterName)
java.lang.Integer
getPriority()
java.lang.Boolean
hasAttribute(java.lang.String parameterName)
java.lang.Boolean
hasAttributeDefinition(java.lang.String parameterName)
java.lang.Boolean
isEnabled()
-
Methods inherited from class com.thingworx.types.NamedObject
getDescription, getName, setDescription, setName, toValueCollection
-
-
-
-
Method Detail
-
getPriority
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Integer getPriority()
-
isEnabled
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean isEnabled()
-
hasAttribute
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean hasAttribute(java.lang.String parameterName)
-
hasAttributeDefinition
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean hasAttributeDefinition(java.lang.String parameterName)
-
getAttributeType
@ThingworxExtensionApiMethod(since={6,6}) public BaseTypes getAttributeType(java.lang.String parameterName)
-
getAttribute
@ThingworxExtensionApiMethod(since={6,6}) public IPrimitiveType getAttribute(java.lang.String parameterName) throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
getAlertType
@ThingworxExtensionApiMethod(since={6,6}) public AlertTypes.AlertType getAlertType()
-
-