public class IotResourceProcessor extends HistorianProcessor
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
mapper |
Constructor and Description |
---|
IotResourceProcessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dateString(java.util.Date date,
java.lang.String timezone,
java.lang.String dateFormat) |
java.lang.String |
getMappedMeter(java.lang.String maximoMeter) |
java.lang.String |
getResourceMeter(java.lang.String maximoMeter) |
com.ibm.json.java.JSONObject |
mapReadings(com.ibm.json.java.JSONObject jo,
MboRemote owner) |
com.ibm.json.java.JSONArtifact |
processResource(JSONResourceInfo resourceInfo,
MboRemote owner,
UserInfo userInfo,
int pageSize,
int currentPage,
JSONAnalyzer jsonAnalyzer)
This is the method that the federated mbos will be fetched from the json resource, and merged into the target mboset.
|
pingHistorian
getPagingParams
public IotResourceProcessor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getResourceMeter(java.lang.String maximoMeter)
public com.ibm.json.java.JSONArtifact processResource(JSONResourceInfo resourceInfo, MboRemote owner, UserInfo userInfo, int pageSize, int currentPage, JSONAnalyzer jsonAnalyzer) throws MXException, java.rmi.RemoteException
HistorianProcessor
processResource
in class HistorianProcessor
resourceInfo
- The json resource's info objectMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.lang.String dateString(java.util.Date date, java.lang.String timezone, java.lang.String dateFormat)
public java.lang.String getMappedMeter(java.lang.String maximoMeter)
public com.ibm.json.java.JSONObject mapReadings(com.ibm.json.java.JSONObject jo, MboRemote owner) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException