Package org.pentaho.di.core.util
Class PluginPropertyFactory
java.lang.Object
org.pentaho.di.core.util.PluginPropertyFactory
- Author:
- Thomas Hoedl(asc042)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateBoolean
(String key) createInteger
(String key) createString
(String key) createStringList
(String key)
-
Constructor Details
-
PluginPropertyFactory
Constructor.- Parameters:
properties
- properties to set.- Throws:
IllegalArgumentException
- if properties is null.
-
-
Method Details
-
getProperties
- Returns:
- the properties
-
createString
- Parameters:
key
- key to set.- Returns:
- new string property.
- Throws:
IllegalArgumentException
- if key is invalid.
-
createInteger
- Parameters:
key
- key to set.- Returns:
- new integer property.
- Throws:
IllegalArgumentException
- if key is invalid.
-
createBoolean
- Parameters:
key
- key to set.- Returns:
- new boolean property.
- Throws:
IllegalArgumentException
- if key is invalid.
-
createStringList
- Parameters:
key
- key.- Returns:
- new string list.
- Throws:
IllegalArgumentException
- if key is invalid.
-