⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eventconstants.java

📁 opennms得相关源码 请大家看看
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    /**     * The primary SNMP interface changed event.     */    public final static String PRIMARY_SNMP_INTERFACE_CHANGED_EVENT_UEI = "uei.opennms.org/nodes/primarySnmpInterfaceChanged";    /**     * The reinitialize primary SNMP interface event.     */    public final static String REINITIALIZE_PRIMARY_SNMP_INTERFACE_EVENT_UEI = "uei.opennms.org/nodes/reinitializePrimarySnmpInterface";    /**     * The configure SNMP event.     */    public final static String CONFIGURE_SNMP_EVENT_UEI = "uei.opennms.org/internal/configureSNMP";    /**     * Collection failed     */    public final static String DATA_COLLECTION_FAILED_EVENT_UEI = "uei.opennms.org/nodes/dataCollectionFailed";    /**     * Collection succeeded     */    public final static String DATA_COLLECTION_SUCCEEDED_EVENT_UEI = "uei.opennms.org/nodes/dataCollectionSucceeded";    /**     * Thresholding failed     */    public final static String THRESHOLDING_FAILED_EVENT_UEI = "uei.opennms.org/nodes/thresholdingFailed";    /**     * Thresholding succeeded     */    public final static String THRESHOLDING_SUCCEEDED_EVENT_UEI = "uei.opennms.org/nodes/thresholdingSucceeded";    /**     * The force interface rescan event UEI     */    public final static String FORCE_RESCAN_EVENT_UEI = "uei.opennms.org/internal/capsd/forceRescan";    /**     * The suspend polling service event UEI     */    public final static String SUSPEND_POLLING_SERVICE_EVENT_UEI = "uei.opennms.org/internal/poller/suspendPollingService";    /**     * The resume polling service event UEI     */    public final static String RESUME_POLLING_SERVICE_EVENT_UEI = "uei.opennms.org/internal/poller/resumePollingService";    /**     * The snmp conflicts with db UEI     */    public final static String SNMP_CONFLICTS_WITH_DB_EVENT_UEI = "uei.opennms.org/internal/capsd/snmpConflictsWithDb";    /**     * The RTC subscribe event     */    public final static String RTC_SUBSCRIBE_EVENT_UEI = "uei.opennms.org/internal/rtc/subscribe";    /**     * The RTC unsubscribe event     */    public final static String RTC_UNSUBSCRIBE_EVENT_UEI = "uei.opennms.org/internal/rtc/unsubscribe";    /**     * A service poll returned an unknown status (due to a problem getting poll     * information)     */    public final static String SERVICE_STATUS_UNKNOWN = "uei.opennms.org/internal/unknownServiceStatus";    /**     * Notification without users event     */    public final static String NOTIFICATION_WITHOUT_USERS = "uei.opennms.org/internal/notificationWithoutUsers";    /**     * A vulnerability scan on a specific interface was initiated by the user     * via the web UI     */    public final static String SPECIFIC_VULN_SCAN_EVENT_UEI = "uei.opennms.org/vulnscand/specificVulnerabilityScan";    /**     * An event to signal that a user has changed asset information via the web     * UI     */    public final static String ASSET_INFO_CHANGED_EVENT_UEI = "uei.opennms.org/nodes/assetInfoChanged";	/**        * The scheduled-outages configuration was changed by the user via the web UI (or manually, for that matter)        */       public final static String SCHEDOUTAGES_CHANGED_EVENT_UEI = "uei.opennms.org/internal/schedOutagesChanged";    //    // end eventUEIs    //    //    // Various event parms sent    //    /**     * The nodeSysName from the node table when sent as an event parm     */    public final static String PARM_NODE_SYSNAME = "nodesysname";    /**     * The nodeSysDescription from the node table when sent as an event parm     */    public final static String PARM_NODE_SYSDESCRIPTION = "nodesysdescription";    /**     * The nodeSysOid from the node table when sent as an event parm     */    public final static String PARM_NODE_SYSOID = "nodesysoid";    /**     * The nodeSysLocation from the node table when sent as an event parm     */    public final static String PARM_NODE_SYSLOCATION = "nodesyslocation";    /**     * The nodeSysContact from the node table when sent as an event parm     */    public final static String PARM_NODE_SYSCONTACT = "nodesyscontact";    /**     * The ipHostName from the ipinterface table when sent as an event parm     */    public final static String PARM_IP_HOSTNAME = "iphostname";    /**     * The original ipHostName from the ipinterface table when sent as an event     * parm     */    public final static String PARM_OLD_IP_HOSTNAME = "oldiphostname";    /**     * Name of the method of discovery when sent as an event parm     */    public final static String PARM_METHOD = "method";    /**     * The interface sent as a parm of an event     */    public final static String PARM_INTERFACE = "interface";    /**     * The action sent as a parm of an event     */    public final static String PARM_ACTION = "action";    /**     * The DPName sent as a parm of an event     */    public final static String PARM_DPNAME = "dpName";    /**     * The old nodeid sent as a parm of the 'interfaceReparented' event     */    public final static String PARM_OLD_NODEID = "oldNodeID";    /**     * The new nodeid sent as a parm of the 'interfaceReparented' event     */    public final static String PARM_NEW_NODEID = "newNodeID";    /**     * The old ifIndex value sent as a parm of the 'interfaceIndexChanged' event     */    public final static String PARM_OLD_IFINDEX = "oldIfIndex";    /**     * The new ifIndex value sent as a parm of the 'interfaceIndexChanged' event     */    public final static String PARM_NEW_IFINDEX = "newIfIndex";    /**     * The nodeLabel from the node table when sent as an event parm     */    public final static String PARM_NODE_LABEL = "nodelabel";    /**     * The nodeLabelSource from the node table when sent as an event parm     */    public final static String PARM_NODE_LABEL_SOURCE = "nodelabelsource";    /**     * The oldNodeLabel sent as a parm of an event     */    public final static String PARM_OLD_NODE_LABEL = "oldNodeLabel";    /**     * The oldNodeLabelSource sent as a parm of an event     */    public final static String PARM_OLD_NODE_LABEL_SOURCE = "oldNodeLabelSource";    /**     * The newNodeLabel sent as a parm of an event     */    public final static String PARM_NEW_NODE_LABEL = "newNodeLabel";    /**     * The newNodeLabelSource sent as a parm of an event     */    public final static String PARM_NEW_NODE_LABEL_SOURCE = "newNodeLabelSource";    /**     * The nodeNetbiosName field from the node table when sent as an event parm     */    public final static String PARM_NODE_NETBIOS_NAME = "nodenetbiosname";    /**     * The nodeDomainName field from the node table when sent as an event parm     */    public final static String PARM_NODE_DOMAIN_NAME = "nodedomainname";    /**     * The operatingSystem field from the node table when sent as an event parm     */    public final static String PARM_NODE_OPERATING_SYSTEM = "nodeoperatingsystem";    /**     * The old value of the primarySnmpInterface field of the ipInterface table     * when sent as an event parm.     */    public final static String PARM_OLD_PRIMARY_SNMP_ADDRESS = "oldPrimarySnmpAddress";    /**     * The new value of the primarySnmpInterface field of the ipInterface table     * when sent as an event parm.     */    public final static String PARM_NEW_PRIMARY_SNMP_ADDRESS = "newPrimarySnmpAddress";    /**     * The first IP address in a range of IP addresses when sent as an event     * parm.     */    public final static String PARM_FIRST_IP_ADDRESS = "firstIPAddress";    /**     * The last IP address in a range of IP addresses when sent as an event     * parm.     */    public final static String PARM_LAST_IP_ADDRESS = "lastIPAddress";    /**     * The SNMP community string when sent as an event parm.     */    public final static String PARM_COMMUNITY_STRING = "communityString";    /**     * Service monitor qualifier when sent as an event parm     */    public final static String PARM_QUALIFIER = "qualifier";    /**     * The URL to which information is to be sent, sent as a parm to the rtc     * subscribe and unsubscribe events     */    public final static String PARM_URL = "url";    /**     * The category for which information is to be sent, sent as a parm to the     * rtc subscribe event     */    public final static String PARM_CAT_LABEL = "catlabel";    /**     * The username when sent as a parameter(like for the rtc subscribe)     */    public final static String PARM_USER = "user";    /**     * The passwd when sent as a parameter(like for the rtc subscribe)     */    public final static String PARM_PASSWD = "passwd";    /**     * The status of a service as returned from a service monitor     */    public final static String PARM_SERVICE_STATUS = "serviceStatus";    /**     * The external transaction number of an event to process.     */    public final static String PARM_TRANSACTION_NO = "txno";    /**     * The uei of a source event to report to external xmlrpc server.     */    public final static String PARM_SOURCE_EVENT_UEI = "sourceUei";    /**     * The message to explain a source event.     */    public final static String PARM_SOURCE_EVENT_MESSAGE = "eventMessage";    /**     * The status to indicate which kind of external xmlrpc command to invoke.     */    public final static String PARM_SOURCE_EVENT_STATUS = "eventStatus";    //    // End event parms    //    /**     * Status code used to indicate which external xmlrpc command to invoke to     * report the occurrence of selected events.     */    public final static int XMLRPC_NOTIFY_RECEIVED = 0;    public final static int XMLRPC_NOTIFY_SUCCESS = 1;    public final static int XMLRPC_NOTIFY_FAILURE = 2;    public static final String PARM_VERSION = "version";    public static final String PARM_TIMEOUT = "timeout";    public static final String PARM_RETRY_COUNT = "retryCount";    public static final String PARM_PORT = "port";    /**     * An utility method to parse a string into a 'Date' instance. Note that the     * string should be in the locale specific DateFormat.FULL style for both     * the date and time.     *      * @see java.text.DateFormat     */    public static final Date parseToDate(String timeString) throws ParseException {	return DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL).parse(timeString);    }    /**     * An utility method to format a 'Date' into a string in the local specific     * FULL DateFormat style for both the date and time.     *      * @see java.text.DateFormat     */    public static final String formatToString(Date date) {	DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL,						       DateFormat.FULL);	df.setTimeZone(TimeZone.getTimeZone("GMT"));	return df.format(date);    }    /**     * An utility method to format a 'Date' into a string in the local specific     * DEFALUT DateFormat style for both the date and time. This is used by the     * webui and a change here should get all time display in the webui changed.     *      * @see java.text.DateFormat     * @deprecated This is no longer used by the UI. All WebUI-specific code     *             should under the org.opennms.web packages.     */    public static final String formatToUIString(Date date) {        return DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM).format(date);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -