public class KettleEnvironment extends Object
Constructor and Description |
---|
KettleEnvironment() |
Modifier and Type | Method and Description |
---|---|
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.
|
static void |
setExecutionInformation(ExecutorInterface executor,
Repository repository)
Sets the executor's user and Server information
|
static void |
shutdown() |
public static void init() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
- Any errors that occur during initialization will throw a KettleException.init(boolean)
public static void init(boolean simpleJndi) throws org.pentaho.di.core.exception.KettleException
simpleJndi
- true to configure Simple JNDI, false otherwiseorg.pentaho.di.core.exception.KettleException
- Any errors that occur during initialization will throw a KettleException.public static void shutdown()
public static boolean isInitialized()
public void loadPluginRegistry() throws org.pentaho.di.core.exception.KettlePluginException
org.pentaho.di.core.exception.KettlePluginException
- if any errors are encountered while loading the plugin registry.public static void setExecutionInformation(ExecutorInterface executor, Repository repository)