本文整理了Java中org.opennms.netmgt.xml.event.Event.getOperinstruct()
方法的一些代码示例,展示了Event.getOperinstruct()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getOperinstruct()
方法的具体详情如下:
包路径:org.opennms.netmgt.xml.event.Event
类名称:Event
方法名:getOperinstruct
[英]Returns the value of field 'operinstruct'. The field 'operinstruct' has the following description: The operator instruction for this event
[中]返回字段“operInstructor”的值。“OperInstruction”字段具有以下描述:此事件的操作员说明
代码示例来源:origin: OpenNMS/opennms
@Override
public String getValue(String parm, String parsedParm, Event event, EventUtil eventUtil) {
return event.getOperinstruct();
}
},
代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon
@Override
public String getValue(String parm, String parsedParm, Event event, EventUtil eventUtil) {
return event.getOperinstruct();
}
},
代码示例来源:origin: OpenNMS/opennms
if (event.getOperinstruct() != null) {
b.append(" Operinstruct: " + event.getOperinstruct() + "\n");
代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon
if (event.getOperinstruct() != null) {
strRet = m_eventUtil.expandParms(event.getOperinstruct(), event);
if (strRet != null) {
event.setOperinstruct(strRet);
代码示例来源:origin: OpenNMS/opennms
if (event.getOperinstruct() != null) {
strRet = m_eventUtil.expandParms(event.getOperinstruct(), event);
if (strRet != null) {
event.setOperinstruct(strRet);
代码示例来源:origin: OpenNMS/opennms
else
snmpTrapHelper.addVarBinding(trap, ".1.3.6.1.4.1.5813.20.1.19.0", "OctetString", "text", "null");
if (event.getOperinstruct() != null)
snmpTrapHelper.addVarBinding(trap, ".1.3.6.1.4.1.5813.20.1.20.0", "OctetString", "text", event.getOperinstruct());
else
snmpTrapHelper.addVarBinding(trap, ".1.3.6.1.4.1.5813.20.1.20.0", "OctetString", "text", "null");
代码示例来源:origin: OpenNMS/opennms
ovent.setEventOperInstruct(EventDatabaseConstants.format(event.getOperinstruct(), 0));
代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon
ovent.setEventOperInstruct(EventDatabaseConstants.format(event.getOperinstruct(), 0));
代码示例来源:origin: org.opennms/opennms-dao-mock
oe.setEventOperActionMenuText(EventDatabaseConstants.format(b, EVENT_OPERACTION_MENU_FIELD_SIZE));
oe.setEventOperInstruct(event.getOperinstruct());
oe.setEventParametersFromEvent(event);
oe.setEventPathOutage(event.getPathoutage());
代码示例来源:origin: OpenNMS/opennms
oe.setEventOperActionMenuText(EventDatabaseConstants.format(b, EVENT_OPERACTION_MENU_FIELD_SIZE));
oe.setEventOperInstruct(event.getOperinstruct());
oe.setEventParametersFromEvent(event);
oe.setEventPathOutage(event.getPathoutage());
代码示例来源:origin: OpenNMS/opennms
e.setOperinstruct(null);
if (e.getOperinstruct() == null && econf.getOperinstruct() != null) {
e.setOperinstruct(econf.getOperinstruct());
代码示例来源:origin: org.opennms.features.events/org.opennms.features.events.daemon
e.setOperinstruct(null);
if (e.getOperinstruct() == null && econf.getOperinstruct() != null) {
e.setOperinstruct(econf.getOperinstruct());
内容来源于网络,如有侵权,请联系作者删除!