public class ModuleNodeFactory extends Object
Constructor and Description |
---|
ModuleNodeFactory(AbstractBoot packageManager)
Create a new and uninitialized module node factory.
|
Modifier and Type | Method and Description |
---|---|
ConfigDescriptionEntry |
getEntryForKey(String key)
Returns the entry for the given key or null, if the key has no metadata.
|
ConfigTreeModuleNode[] |
getGlobalNodes()
Returns all global nodes.
|
ConfigTreeModuleNode[] |
getLocalNodes()
Returns all local nodes.
|
static String |
getPackage(Class c)
Returns the name of the package for the given class.
|
void |
init()
(Re)Initializes the factory from the given report configuration.
|
void |
load(boolean append) |
void |
load(InputStream in,
boolean append) |
public ModuleNodeFactory(AbstractBoot packageManager)
public void load(boolean append) throws IOException
IOException
public void load(InputStream in, boolean append) throws IOException
IOException
public void init()
public static String getPackage(Class c)
c
- the class for which we search the package.public ConfigTreeModuleNode[] getGlobalNodes()
public ConfigTreeModuleNode[] getLocalNodes()
public ConfigDescriptionEntry getEntryForKey(String key)
key
- the name of the keyCopyright © 2002–2017 Pentaho Corporation. All rights reserved.