Class PluginWrapper
- java.lang.Object
-
- org.opennms.netmgt.provision.support.PluginWrapper
-
public class PluginWrapper extends java.lang.Object
PluginWrapper class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description PluginWrapper(java.lang.Class<?> clazz)
Constructor for PluginWrapper.PluginWrapper(java.lang.String className)
Constructor for PluginWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClassName()
getClassNamejava.util.Map<java.lang.String,java.util.Set<java.lang.String>>
getOptionalItems()
getOptionalItemsjava.util.Set<java.lang.String>
getOptionalKeys()
getOptionalKeysjava.util.Map<java.lang.String,java.lang.Boolean>
getRequired()
getRequiredjava.util.Map<java.lang.String,java.util.Set<java.lang.String>>
getRequiredItems()
getRequiredItemsjava.util.Set<java.lang.String>
getRequiredKeys()
getRequiredKeys
-
-
-
Constructor Detail
-
PluginWrapper
public PluginWrapper(java.lang.String className) throws java.lang.ClassNotFoundException
Constructor for PluginWrapper.
- Parameters:
className
- aString
object.- Throws:
java.lang.ClassNotFoundException
- if any.
-
PluginWrapper
public PluginWrapper(java.lang.Class<?> clazz) throws java.lang.ClassNotFoundException
Constructor for PluginWrapper.
- Parameters:
clazz
- aClass
object.- Throws:
java.lang.ClassNotFoundException
- if any.
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
getClassName
- Returns:
- a
String
object.
-
getRequired
public java.util.Map<java.lang.String,java.lang.Boolean> getRequired()
getRequired
- Returns:
- a
Map
object.
-
getRequiredKeys
public java.util.Set<java.lang.String> getRequiredKeys()
getRequiredKeys
- Returns:
- a
Set
object.
-
getOptionalKeys
public java.util.Set<java.lang.String> getOptionalKeys()
getOptionalKeys
- Returns:
- a
Set
object.
-
getRequiredItems
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getRequiredItems()
getRequiredItems
- Returns:
- a
Map
object.
-
getOptionalItems
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getOptionalItems()
getOptionalItems
- Returns:
- a
Map
object.
-
-