public class AMOCProcessor extends HistorianProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATT_AMOC |
java.util.HashMap<java.lang.String,java.lang.String> |
mapper |
static java.lang.String |
PING_EP |
Constructor and Description |
---|
AMOCProcessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAMOCMeter(java.lang.String maximoMeter) |
java.lang.String |
getBaseAttURL() |
java.lang.String |
getHeaders(java.util.Map propInfo) |
com.ibm.json.java.JSONObject |
mapReadings(com.ibm.json.java.JSONObject jo,
MboRemote owner) |
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 java.util.HashMap<java.lang.String,java.lang.String> mapper
public static final java.lang.String ATT_AMOC
public static final java.lang.String PING_EP
public AMOCProcessor() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getAMOCMeter(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 com.ibm.json.java.JSONObject mapReadings(com.ibm.json.java.JSONObject jo, MboRemote owner) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean pingHistorian(IoTFService srv) throws java.rmi.RemoteException, MXException
pingHistorian
in class HistorianProcessor
java.rmi.RemoteException
MXException
public java.lang.String getHeaders(java.util.Map propInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getBaseAttURL() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException