org.pentaho.di.core.plugins
Class PluginLocation

java.lang.Object
  extended by org.pentaho.di.core.plugins.PluginLocation

public class PluginLocation
extends Object

Just a simple bean-style class to mediate plugin configuration.

Author:
Alex Silva

Field Summary
static String PDI_PLUGIN_CONFIG
           
 
Constructor Summary
PluginLocation()
           
 
Method Summary
 boolean equals(Object o)
           
 String getId()
           
 String getLocation()
          Returns where the plugin xml file is located.
 int hashCode()
           
 void set(String property, String value)
           
 void setId(String id)
           
 void setLocation(String resource)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PDI_PLUGIN_CONFIG

public static final String PDI_PLUGIN_CONFIG
See Also:
Constant Field Values
Constructor Detail

PluginLocation

public PluginLocation()
Method Detail

getId

public String getId()

setId

public void setId(String id)

getLocation

public String getLocation()
Returns where the plugin xml file is located. This file specifies "n" locations from which plugins can be loaded. You can override what's returned by this method by supplying a system property called "pdi.plugins.config" that points to the location of the file.

Returns:

setLocation

public void setLocation(String resource)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

set

public void set(String property,
                String value)
         throws KettleConfigException
Throws:
KettleConfigException