Class KettleClientEnvironment

java.lang.Object
org.pentaho.di.core.KettleClientEnvironment

public class KettleClientEnvironment extends Object
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
  • Constructor Details

    • KettleClientEnvironment

      public KettleClientEnvironment()
  • Method Details

    • init

      public static void init() throws KettleException
      Throws:
      KettleException
    • init

      public static void init(List<PluginTypeInterface> pluginsToLoad) throws KettleException
      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

      public void setClient(KettleClientEnvironment.ClientType client)
    • setClientID

      public void setClientID(String id)
      Set the Client ID which has significance when the ClientType == OTHER
      Parameters:
      id -
    • getClient

    • getInstance

      public static KettleClientEnvironment getInstance()
      Return this singleton. Create it if it hasn't been.
      Returns:
    • reset

      public static void reset()