return _graphManager.getIntegerParam(name);
}
private void takePusherAction(LinkedList<Object> l) {
MapperEvent me;
PushResult pr = null;
for (Object o: l) {
if (o instanceof PushResult) {
pr = (PushResult)o;
if (pr.getType() == PusherEvent.PusherEventType.ERROR) {
me = new MapperEvent(this);
me.setMapperType(MapperActionType.DisplayError);
Date d = new Date(System.currentTimeMillis());
NexsmLog nl = new NexsmLog(d, NexsmLogType.Critical, "Pusher error",
pr.getMsg());
me.setParams(nl);
fireMapperActionRequested(me);
} else if (pr.getType() == PusherEvent.PusherEventType.FINISHED_OK) {
me = new MapperEvent(this);
me.setMapperType(MapperActionType.DisplayInfo);
Date d = new Date(System.currentTimeMillis());
NexsmLog nl = new NexsmLog(d, NexsmLogType.Informational, "Pusher finished",
pr.getMsg());
me.setParams(nl);
fireMapperActionRequested(me);
}
}
}