@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class ThingworxMetric extends java.lang.Object
Constructor and Description |
---|
ThingworxMetric() |
Modifier and Type | Method and Description |
---|---|
static ValueCollection |
create(java.lang.String name,
java.lang.String description,
double value)
Create a ValueCollection that can be added to an InfoTable as a row, representing a single metric. |
static ValueCollection |
create(java.lang.String name,
java.lang.String description,
int value)
Create a ValueCollection that can be added to an InfoTable as a row, representing a single metric. |
static ValueCollection |
create(java.lang.String name,
java.lang.String description,
long value)
Create a ValueCollection that can be added to an InfoTable as a row, representing a single metric. |
static ValueCollection |
create(java.lang.String name,
java.lang.String description,
NumberPrimitive value)
Create a ValueCollection that can be added to an InfoTable as a row, representing a single metric. |
@ThingworxExtensionApiMethod(since={6,6}) public static ValueCollection create(java.lang.String name, java.lang.String description, long value)
name
- Name of the metricdescription
- Description of the metricvalue
- The metrics value@ThingworxExtensionApiMethod(since={6,6}) public static ValueCollection create(java.lang.String name, java.lang.String description, int value)
name
- Name of the metricdescription
- Description of the metricvalue
- The metrics value@ThingworxExtensionApiMethod(since={6,6}) public static ValueCollection create(java.lang.String name, java.lang.String description, double value)
name
- Name of the metricdescription
- Description of the metricvalue
- The metrics value@ThingworxExtensionApiMethod(since={6,6}) public static ValueCollection create(java.lang.String name, java.lang.String description, NumberPrimitive value)
name
- Name of the metricdescription
- Description of the metricvalue
- The metrics value