public class AggregationSchemaParser extends java.lang.Object implements IoTServicesConstants
ACTIVE, AGGMSGSCHEMA, AGGTIMERANGE, BODY, DESCRIPTION, DEVICEIDTAG, DEVICETYPE, DEVICETYPEDESC, DEVICETYPEDESCRTAG, DEVICETYPETAG, ENDPOINTNAME, ENDPOINTVALUE, EXTSYSTEM, FEEDMAPPINGPROP, GROUPLEVEL, HASIOTCFG, HISTMAPPER, HISTQUERY, HTTPMETHOD, IFACENAME, INSTANCENAME, IOTCFG, IOTCONNSERVLOGGER, IOTSERVEP, IOTSERVICENAME, ISDEFAULT, LABEL, LASTMESSAGETAG, MAPPER, METERNAME, METHOD, NAMETAG, PAYLOADIDATTR, PINGENDPOINT, PROCESSOR, PROPAGGREGATION, PROPERTY, READINGDATEFORMAT, READINGDATETAGMAP, READINGDATETAGNAME, RESULTTAGNAME, RULENAME, SEQUENCE, SORT, USEDBY, USEDWITH, USEDWITH_getAggregateResultForDeviceType, USEDWITH_getAllDevicetypes, USEDWITH_getDevices, USEDWITH_getLastMessage, USEDWITH_getMessage, USEDWITH_getSampleAggregate, USEWITH, VALUE, VALUETAG
Constructor and Description |
---|
AggregationSchemaParser() |
Modifier and Type | Method and Description |
---|---|
static MboSetRemote |
parseMessage(MboRemote thisMbo,
java.lang.String schema)
Return a list of choices for the aggregation function, given the schema.
|
static boolean |
validateProperty(java.lang.String aggMsgSchema,
java.lang.String choice)
Verify that the chosen aggregation function is a choice, given the schema example.
|
public static boolean validateProperty(java.lang.String aggMsgSchema, java.lang.String choice) throws MXException
aggMsgSchema
- choice
- MXException
public static MboSetRemote parseMessage(MboRemote thisMbo, java.lang.String schema) throws MXException, java.rmi.RemoteException
thisMbo
- The owning Mbo.schema
- A sample aggregation schema.MXException
java.rmi.RemoteException