org.pentaho.di.job
Class JobPlugin

java.lang.Object
  extended by org.pentaho.di.core.plugins.Plugin<String>
      extended by 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

Field Summary
 
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)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCategory()
           
 String getCategory(String locale)
           
 String getDescription()
           
 String getDescription(String locale)
           
 String getJarfilesList()
           
 JobEntryType getJobType()
           
 Map<String,String> getLocalizedCategories()
           
 Map<String,String> getLocalizedDescriptions()
           
 Map<String,String> getLocalizedTooltips()
           
 Object[] getPluginInformation()
           
static org.pentaho.di.core.row.RowMetaInterface getPluginInformationRowMeta()
           
 String getTooltip()
           
 String getTooltip(String locale)
           
 int hashCode()
           
 void setCategory(String category)
           
 void setLocalizedCategories(Map<String,String> localizedCategories)
           
 void setLocalizedDescriptions(Map<String,String> localizedDescriptions)
           
 void setLocalizedTooltips(Map<String,String> localizedTooltips)
           
 String toString()
           
 
Methods inherited from class org.pentaho.di.core.plugins.Plugin
getClassLoader, getClassname, getDirectory, getIconFilename, getID, getJarfiles, getType, isNative, isPlugin, setClassLoader, setIconFilename
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()