org.opennms.netmgt.provision.support
Class PluginWrapper

java.lang.Object
  extended by org.opennms.netmgt.provision.support.PluginWrapper

public class PluginWrapper
extends Object

PluginWrapper class.

Version:
$Id: $
Author:
ranger

Constructor Summary
PluginWrapper(Class<?> clazz)
          Constructor for PluginWrapper.
PluginWrapper(String className)
          Constructor for PluginWrapper.
 
Method Summary
 String getClassName()
          getClassName
 Map<String,Set<String>> getOptionalItems()
          getOptionalItems
 Set<String> getOptionalKeys()
          getOptionalKeys
 Map<String,Boolean> getRequired()
          getRequired
 Map<String,Set<String>> getRequiredItems()
          getRequiredItems
 Set<String> getRequiredKeys()
          getRequiredKeys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginWrapper

public PluginWrapper(String className)
              throws ClassNotFoundException

Constructor for PluginWrapper.

Parameters:
className - a String object.
Throws:
ClassNotFoundException - if any.

PluginWrapper

public PluginWrapper(Class<?> clazz)
              throws ClassNotFoundException

Constructor for PluginWrapper.

Parameters:
clazz - a Class object.
Throws:
ClassNotFoundException - if any.
Method Detail

getClassName

public String getClassName()

getClassName

Returns:
a String object.

getRequired

public Map<String,Boolean> getRequired()

getRequired

Returns:
a Map object.

getRequiredKeys

public Set<String> getRequiredKeys()

getRequiredKeys

Returns:
a Set object.

getOptionalKeys

public Set<String> getOptionalKeys()

getOptionalKeys

Returns:
a Set object.

getRequiredItems

public Map<String,Set<String>> getRequiredItems()

getRequiredItems

Returns:
a Map object.

getOptionalItems

public Map<String,Set<String>> getOptionalItems()

getOptionalItems

Returns:
a Map object.


Copyright © 2011. All Rights Reserved.