public class HistorianProcessor extends DefaultResourceProcessor
Constructor and Description |
---|
HistorianProcessor()
Process historian data to show it in the AH dash board.
|
Modifier and Type | Method and Description |
---|---|
boolean |
pingHistorian(IoTFService srv) |
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.
|
getPagingParams
public HistorianProcessor() throws MXException, java.rmi.RemoteException
owner
- The owner mbo of the targetSet.MXException
java.rmi.RemoteException
public com.ibm.json.java.JSONArtifact processResource(JSONResourceInfo resourceInfo, MboRemote owner, UserInfo userInfo, int pageSize, int currentPage, JSONAnalyzer jsonAnalyzer) throws MXException, java.rmi.RemoteException
processResource
in class DefaultResourceProcessor
resourceInfo
- The json resource's info objectfdOwner
- The owner mbo of the target mbosetrootObject
- The name of the json resource root object.fdRelation
- Relationship from targetSet's owner (e.g. targetSet being ASsetSpec and its owner is Asset) to the federated mbosetMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic boolean pingHistorian(IoTFService srv) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException