org.pentaho.di.core.util
Class PluginPropertyFactory
java.lang.Object
  
org.pentaho.di.core.util.PluginPropertyFactory
public class PluginPropertyFactory
- extends Object
 
- Author:
 
  - Thomas Hoedl(asc042)
 
 
 
 
PluginPropertyFactory
public PluginPropertyFactory(KeyValueSet properties)
                      throws IllegalArgumentException
- Constructor.
- Parameters:
 properties - properties to set.
- Throws:
 IllegalArgumentException - if properties is null.
 
getProperties
public KeyValueSet getProperties()
- Returns:
 - the properties
 
 
createString
public StringPluginProperty createString(String key)
                                  throws IllegalArgumentException
- Parameters:
 key - key to set.
- Returns:
 - new string property.
 - Throws:
 IllegalArgumentException - if key is invalid.
 
createInteger
public IntegerPluginProperty createInteger(String key)
                                    throws IllegalArgumentException
- Parameters:
 key - key to set.
- Returns:
 - new integer property.
 - Throws:
 IllegalArgumentException - if key is invalid.
 
createBoolean
public BooleanPluginProperty createBoolean(String key)
                                    throws IllegalArgumentException
- Parameters:
 key - key to set.
- Returns:
 - new boolean property.
 - Throws:
 IllegalArgumentException - if key is invalid.
 
createStringList
public StringListPluginProperty createStringList(String key)
                                          throws IllegalArgumentException
- Parameters:
 key - key.
- Returns:
 - new string list.
 - Throws:
 IllegalArgumentException - if key is invalid.