@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class AlertDefinition extends NamedObject implements java.lang.Cloneable
NAME_COMPARATOR
Constructor and Description |
---|
AlertDefinition() |
Modifier and Type | Method and 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() |
getDescription, getName, setDescription, setName, toValueCollection
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Integer getPriority()
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean isEnabled()
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean hasAttribute(java.lang.String parameterName)
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean hasAttributeDefinition(java.lang.String parameterName)
@ThingworxExtensionApiMethod(since={6,6}) public BaseTypes getAttributeType(java.lang.String parameterName)
@ThingworxExtensionApiMethod(since={6,6}) public IPrimitiveType getAttribute(java.lang.String parameterName) throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public AlertTypes.AlertType getAlertType()