Skip navigation links
org.opennms.netmgt.capsd

Class AbstractPlugin

    • Constructor Detail

      • AbstractPlugin

        public AbstractPlugin()
    • Method Detail

      • getProtocolName

        public abstract String getProtocolName()
        Returns the name of the protocol that this plugin checks on the target system for support.
        Specified by:
        getProtocolName in interface Plugin
        Returns:
        The protocol name for this plugin.
      • isProtocolSupported

        public abstract boolean isProtocolSupported(InetAddress address)
        Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller. Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller.
        Specified by:
        isProtocolSupported in interface Plugin
        Parameters:
        address - The address to check for support.
        Returns:
        True if the protocol is supported by the address.
      • isProtocolSupported

        public abstract boolean isProtocolSupported(InetAddress address,
                                                    Map<String,Object> qualifiers)
        Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller. The qualifier map passed to the method is used by the plugin to return additional information by key-name. These key-value pairs can be added to service events if needed. Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller. The qualifier map passed to the method is used by the plugin to return additional information by key-name. These key-value pairs can be added to service events if needed.
        Specified by:
        isProtocolSupported in interface Plugin
        Parameters:
        address - The address to check for support.
        qualifiers - The map where qualification are set by the plugin.
        Returns:
        True if the protocol is supported by the address.

Copyright © 2016. All rights reserved.