Package org.pentaho.di.core
Class KettleClientEnvironment
java.lang.Object
org.pentaho.di.core.KettleClientEnvironment
This singleton is responsible for initializing the Kettle client environment and remembering if it is initialized.
More specifically it loads client plugins like value meta plugins and other core Kettle functionality.
- Author:
- matt
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Creates the kettle home area, which is a directory containing a default kettle.properties filestatic void
Creates the kettle home area, which is a directory containing a default kettle.properties filestatic KettleClientEnvironment
Return this singleton.static void
init()
static void
init
(List<PluginTypeInterface> pluginsToLoad) static boolean
static void
reset()
void
void
setClientID
(String id) Set the Client ID which has significance when the ClientType == OTHER
-
Constructor Details
-
KettleClientEnvironment
public KettleClientEnvironment()
-
-
Method Details
-
init
- Throws:
KettleException
-
init
- Throws:
KettleException
-
isInitialized
public static boolean isInitialized() -
createKettleHome
public static void createKettleHome()Creates the kettle home area, which is a directory containing a default kettle.properties file -
createKettleUserHome
public static void createKettleUserHome()Creates the kettle home area, which is a directory containing a default kettle.properties file -
setClient
-
setClientID
Set the Client ID which has significance when the ClientType == OTHER- Parameters:
id
-
-
getClient
-
getInstance
Return this singleton. Create it if it hasn't been.- Returns:
-
reset
public static void reset()
-