Package org.opennms.protocols.wmi.wbem
Interface OnmsWbemObject
-
- All Known Implementing Classes:
OnmsWbemObjectImpl
public interface OnmsWbemObject
OnmsWbemObject interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnmsWbemMethodSet
getWmiMethods()
Gets a list of the available methods on this object.java.lang.String
getWmiObjectText()
getWmiObjectTextOnmsWbemObjectPath
getWmiPath()
getWmiPathOnmsWbemPropertySet
getWmiProperties()
getWmiPropertiesOnmsWbemObject
wmiExecMethod(java.lang.String methodName, java.util.List<?> params, java.util.List<?> namedValueSet)
Execute a named method on this WMI object.java.util.List<java.lang.String>
wmiInstances()
Returns a list of instances of this object (if it is a WMI class.)java.lang.String
wmiPut()
Create or update a WMI object.
-
-
-
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.
-
getWmiPath
OnmsWbemObjectPath getWmiPath() throws WmiException
getWmiPath
- Returns:
- a
OnmsWbemObjectPath
object. - Throws:
WmiException
- if any.
-
getWmiObjectText
java.lang.String getWmiObjectText() throws WmiException
getWmiObjectText
- Returns:
- a
String
object. - Throws:
WmiException
- if any.
-
getWmiProperties
OnmsWbemPropertySet getWmiProperties() throws WmiException
getWmiProperties
- Returns:
- a
OnmsWbemPropertySet
object. - Throws:
WmiException
- if any.
-
-