Package org.opennms.protocols.wmi.wbem
Interface OnmsWbemObject
-
- All Known Implementing Classes:
OnmsWbemObjectImpl
public interface OnmsWbemObjectOnmsWbemObject interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnmsWbemMethodSetgetWmiMethods()Gets a list of the available methods on this object.StringgetWmiObjectText()getWmiObjectTextOnmsWbemObjectPathgetWmiPath()getWmiPathOnmsWbemPropertySetgetWmiProperties()getWmiPropertiesOnmsWbemObjectwmiExecMethod(String methodName, List<?> params, List<?> namedValueSet)Execute a named method on this WMI object.List<String>wmiInstances()Returns a list of instances of this object (if it is a WMI class.)StringwmiPut()Create or update a WMI object.
-
-
-
Method Detail
-
wmiExecMethod
OnmsWbemObject wmiExecMethod(String methodName, List<?> params, 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
List<String> wmiInstances()
Returns a list of instances of this object (if it is a WMI class.)- Returns:
- a list of instance names.
-
wmiPut
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.
-
getWmiPath
OnmsWbemObjectPath getWmiPath() throws WmiException
getWmiPath
- Returns:
- a
OnmsWbemObjectPathobject. - Throws:
WmiException- if any.
-
getWmiObjectText
String getWmiObjectText() throws WmiException
getWmiObjectText
- Returns:
- a
Stringobject. - Throws:
WmiException- if any.
-
getWmiProperties
OnmsWbemPropertySet getWmiProperties() throws WmiException
getWmiProperties
- Returns:
- a
OnmsWbemPropertySetobject. - Throws:
WmiException- if any.
-
-