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 void |
init(Class<? extends PluginTypeInterface> pluginClasses) |
static void |
init(List<PluginTypeInterface> pluginClasses,
boolean simpleJndi) |
static boolean |
isInitialized()
Checks if the Kettle environment has been initialized.
|
void |
loadPluginRegistry()
Loads the plugin registry.
|
static void |
reset() |
static void |
setExecutionInformation(ExecutorInterface executor,
Repository repository)
Sets the executor's user and Server information
|
static void |
shutdown() |
public static void init() throws KettleException
KettleException
- Any errors that occur during initialization will throw a KettleException.init(boolean)
public static void init(Class<? extends PluginTypeInterface> pluginClasses)
public static void init(boolean simpleJndi) throws KettleException
simpleJndi
- true to configure Simple JNDI, false otherwiseKettleException
- Any errors that occur during initialization will throw a KettleException.public static void init(List<PluginTypeInterface> pluginClasses, boolean simpleJndi) throws KettleException
KettleException
public static void shutdown()
public static boolean isInitialized()
public void loadPluginRegistry() throws KettlePluginException
KettlePluginException
- if any errors are encountered while loading the plugin registry.public static void setExecutionInformation(ExecutorInterface executor, Repository repository)
public static void reset()
Copyright © 2020 Hitachi Vantara. All rights reserved.