org.pentaho.di.job
Class JobPlugin
java.lang.Object
org.pentaho.di.core.plugins.Plugin<String>
org.pentaho.di.job.JobPlugin
public class JobPlugin
- extends org.pentaho.di.core.plugins.Plugin<String>
Contains the description of a job-entry of a job-entry plugin, what jars to
load, the icon, etc.
- Since:
- 2005-may-09
- Author:
- Matt
Fields inherited from class org.pentaho.di.core.plugins.Plugin |
CATEGORY, CLASSNAME, DESCRIPTION, ERRORHELPFILE, ICONFILE, ID, LIBRARIES, LIBRARY, LOCALE, LOCALIZED_CATEGORY, LOCALIZED_DESCRIPTION, LOCALIZED_TOOLTIP, NAME, PLUGIN, PLUGIN_LOADER, PLUGIN_XML_FILE, TOOLTIP, TYPE_ALL, TYPE_NATIVE, TYPE_PLUGIN |
Constructor Summary |
JobPlugin(int type,
String id,
JobEntryType jobType,
String tooltip,
String directory,
String[] jarfiles,
String icon_filename,
String classname,
String category)
|
JobPlugin(int type,
String id,
String description,
String tooltip,
String directory,
String[] jarfiles,
String icon_filename,
String classname,
String category)
|
Methods inherited from class org.pentaho.di.core.plugins.Plugin |
getClassLoader, getClassname, getDirectory, getIconFilename, getID, getJarfiles, getType, isNative, isPlugin, setClassLoader, setIconFilename |
JobPlugin
public JobPlugin(int type,
String id,
JobEntryType jobType,
String tooltip,
String directory,
String[] jarfiles,
String icon_filename,
String classname,
String category)
JobPlugin
public JobPlugin(int type,
String id,
String description,
String tooltip,
String directory,
String[] jarfiles,
String icon_filename,
String classname,
String category)
getJobType
public JobEntryType getJobType()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getCategory
public String getCategory()
getCategory
public String getCategory(String locale)
setCategory
public void setCategory(String category)
- Parameters:
category
- the category to set
getDescription
public String getDescription()
- Overrides:
getDescription
in class org.pentaho.di.core.plugins.Plugin<String>
getDescription
public String getDescription(String locale)
getTooltip
public String getTooltip()
- Overrides:
getTooltip
in class org.pentaho.di.core.plugins.Plugin<String>
getTooltip
public String getTooltip(String locale)
setLocalizedCategories
public void setLocalizedCategories(Map<String,String> localizedCategories)
getLocalizedCategories
public Map<String,String> getLocalizedCategories()
- Returns:
- the localized categories map.
setLocalizedDescriptions
public void setLocalizedDescriptions(Map<String,String> localizedDescriptions)
getLocalizedDescriptions
public Map<String,String> getLocalizedDescriptions()
- Returns:
- the localized descriptions map.
getLocalizedTooltips
public Map<String,String> getLocalizedTooltips()
- Returns:
- the localizedTooltips
setLocalizedTooltips
public void setLocalizedTooltips(Map<String,String> localizedTooltips)
- Parameters:
localizedTooltips
- the localizedTooltips to set
getJarfilesList
public String getJarfilesList()
getPluginInformationRowMeta
public static org.pentaho.di.core.row.RowMetaInterface getPluginInformationRowMeta()
getPluginInformation
public Object[] getPluginInformation()