|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.di.trans.StepLoader
public class StepLoader
Method Summary | |
---|---|
StepPlugin |
findStepPluginWithDescription(String description)
|
StepPlugin |
findStepPluginWithDescription(String description,
String locale)
|
StepPlugin |
findStepPluginWithID(String stepid)
|
String[] |
getCategories(int type)
Get a unique list of categories. |
String[] |
getCategories(int type,
String locale)
Get a unique list of categories. |
InputStream |
getInputStreamForFile(String filename)
Search through all jarfiles in all steps and try to find a certain file in it. |
static StepLoader |
getInstance()
|
static StepLoader |
getInstance(String[] pluginDirectory)
|
static Partitioner |
getPartitioner(String id)
|
static Map<String,Partitioner> |
getPartitionerList()
|
List<Object[]> |
getPluginInformation()
|
List<StepPlugin> |
getPluginList()
|
String[] |
getPluginPackages()
|
StepMetaInterface |
getStepClass(StepPlugin sp)
|
StepMetaInterface |
getStepClass(String desc)
|
StepPlugin |
getStepPlugin(StepMetaInterface sii)
Determine the step's plugin based upon the StepMetaInterface we get... |
String |
getStepPluginID(StepMetaInterface sii)
Determine the step's id based upon the StepMetaInterface we get... |
StepPlugin[] |
getStepsWithCategory(String category)
|
StepPlugin[] |
getStepsWithType(int type)
|
StepPlugin |
getStepWithCategory(String category,
int position)
|
StepPlugin |
getStepWithType(int type,
int position)
|
static void |
init()
Read & initialize all the steps and plugins |
static void |
init(String[] pluginDirectory)
Read & initialize all the steps and plugins |
int |
nrStepsWithCategory(String category)
|
int |
nrStepsWithType(int type)
Count's the number of steps with a certain type. |
boolean |
read()
Deprecated. in favor of static method init() to flag the exception throwing in this method. (change of contract) |
void |
readNatives()
|
void |
readPlugins()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final StepLoader getInstance(String[] pluginDirectory)
public static final StepLoader getInstance()
public boolean read() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
- In case a plug-in could not be loaded or something else went wrong in the process.public static final void init(String[] pluginDirectory) throws org.pentaho.di.core.exception.KettleException
pluginDirectory
- the directories to read plugins from
org.pentaho.di.core.exception.KettleException
- In case a plug-in could not be loaded or something else went wrong in the process.public static final void init() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
- In case a plug-in could not be loaded or something else went wrong in the process.public void readNatives()
public void readPlugins() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public StepMetaInterface getStepClass(String desc) throws org.pentaho.di.core.exception.KettleStepLoaderException
org.pentaho.di.core.exception.KettleStepLoaderException
public StepMetaInterface getStepClass(StepPlugin sp) throws org.pentaho.di.core.exception.KettleStepLoaderException
org.pentaho.di.core.exception.KettleStepLoaderException
public int nrStepsWithType(int type)
type
- One of StepPlugin.TYPE_NATIVE, StepPlugin.TYPE_PLUGIN,
StepPlugin.TYPE_ALL
public StepPlugin getStepWithType(int type, int position)
public StepPlugin[] getStepsWithType(int type)
public StepPlugin findStepPluginWithID(String stepid)
stepid
-
public StepPlugin findStepPluginWithDescription(String description)
public StepPlugin findStepPluginWithDescription(String description, String locale)
public String[] getCategories(int type)
type
- The type of step plugins for which we want to categories...
public String[] getCategories(int type, String locale)
type
- The type of step plugins for which we want to categories...
public int nrStepsWithCategory(String category)
public StepPlugin getStepWithCategory(String category, int position)
public StepPlugin[] getStepsWithCategory(String category)
public String getStepPluginID(StepMetaInterface sii)
sii
- The StepMetaInterface
public StepPlugin getStepPlugin(StepMetaInterface sii)
sii
- The StepMetaInterface
public InputStream getInputStreamForFile(String filename)
getInputStreamForFile
in interface org.pentaho.di.i18n.LoaderInputStreamProvider
filename
-
public List<StepPlugin> getPluginList()
public static Map<String,Partitioner> getPartitionerList()
public static Partitioner getPartitioner(String id)
public List<Object[]> getPluginInformation()
public String[] getPluginPackages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |