|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.KettleEnvironment
public class KettleEnvironment
The KettleEnvironment class contains settings and properties for all of Kettle. Initialization of the environment is done by calling the init() method, which reads in properties file(s), registers plugins, etc. Initialization should be performed once at application startup; for example, Spoon's main() method calls KettleEnvironment.init() in order to prepare the environment for usage by Spoon.
Constructor Summary | |
---|---|
KettleEnvironment()
|
Method Summary | |
---|---|
static void |
createKettleHome()
Creates the kettle home area, which is a directory containing a default kettle.properties file |
static void |
init()
Initializes the Kettle environment. |
static void |
init(boolean simpleJndi)
Initializes the Kettle environment. |
static boolean |
isInitialized()
Checks if the Kettle environment has been initialized. |
void |
loadPluginRegistry()
Loads the plugin registry. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KettleEnvironment()
Method Detail |
---|
public static void init() throws KettleException
KettleException
- Any errors that occur during initialization will throw a KettleException.init(boolean)
public static void init(boolean simpleJndi) throws KettleException
simpleJndi
- true to configure Simple JNDI, false otherwise
KettleException
- Any errors that occur during initialization will throw a KettleException.public static void createKettleHome()
public static boolean isInitialized()
public void loadPluginRegistry() throws KettlePluginException
KettlePluginException
- if any errors are encountered while loading the plugin registry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |