Interface OnmsWbemObject

  • All Known Implementing Classes:
    OnmsWbemObjectImpl

    public interface OnmsWbemObject

    OnmsWbemObject interface.

    Version:
    $Id: $
    Author:
    ranger
    • Method Detail

      • wmiExecMethod

        OnmsWbemObject wmiExecMethod​(java.lang.String methodName,
                                     java.util.List<?> params,
                                     java.util.List<?> namedValueSet)
        Execute a named method on this WMI object.
        Parameters:
        methodName - The name of the method to execute on the remote side.
        params - The list of parameters for this method.
        namedValueSet - A list of parameter values.
        Returns:
        The result of the method execution.
      • wmiInstances

        java.util.List<java.lang.String> wmiInstances()
        Returns a list of instances of this object (if it is a WMI class.)
        Returns:
        a list of instance names.
      • wmiPut

        java.lang.String wmiPut()
        Create or update a WMI object.
        Returns:
        the object path to the created/updated WMI object.
      • getWmiMethods

        OnmsWbemMethodSet getWmiMethods()
                                 throws WmiException
        Gets a list of the available methods on this object.
        Returns:
        a list of available methods on this object.
        Throws:
        WmiException - if any.
      • getWmiObjectText

        java.lang.String getWmiObjectText()
                                   throws WmiException

        getWmiObjectText

        Returns:
        a String object.
        Throws:
        WmiException - if any.