| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.core.util.KeyValue<List<String>>
org.pentaho.di.core.util.StringListPluginProperty
public class StringListPluginProperty
| Field Summary | |
|---|---|
static char | 
SEPARATOR_CHAR
The separator character.  | 
static String | 
VALUE_XML_TAG_NAME
Value XML tag name.  | 
| Fields inherited from class org.pentaho.di.core.util.KeyValue | 
|---|
DEFAULT_TRUE_VALUES, VALID_KEY_CHARS | 
| Fields inherited from interface org.pentaho.di.core.util.PluginProperty | 
|---|
BOOLEAN_STRING_TRUE, DEFAULT_BOOLEAN_VALUE, DEFAULT_DOUBLE_VALUE, DEFAULT_INTEGER_VALUE, DEFAULT_STRING_VALUE | 
| Constructor Summary | |
|---|---|
StringListPluginProperty(String key)
 | 
|
| Method Summary | |
|---|---|
 void | 
appendXml(StringBuilder builder)
 | 
 void | 
assertValueNotNull()
Assert state, value not null.  | 
static String | 
asString(List<String> list)
 | 
 boolean | 
evaluate()
 | 
static List<String> | 
fromString(String input)
 | 
 boolean | 
isEmpty()
 | 
 Iterator<String> | 
iterator()
 | 
 void | 
loadXml(Node node)
 | 
 void | 
readFromPreferences(Preferences node)
 | 
 void | 
readFromRepositoryStep(Repository repository,
                       org.pentaho.di.repository.ObjectId stepId)
 | 
 void | 
saveToPreferences(Preferences node)
 | 
 void | 
saveToRepositoryStep(Repository repository,
                     org.pentaho.di.repository.ObjectId transformationId,
                     org.pentaho.di.repository.ObjectId stepId)
 | 
 void | 
setValues(String... values)
 | 
 int | 
size()
 | 
| Methods inherited from class org.pentaho.di.core.util.KeyValue | 
|---|
assertKey, booleanValue, booleanValue, booleanValue, booleanValue, booleanValue, doubleValue, doubleValue, floatValue, floatValue, getKey, getValue, integerValue, integerValue, longValue, longValue, setValue, stringValue, stringValue, stringValueDefaultIfBlank, toString, value, value | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String VALUE_XML_TAG_NAME
public static final char SEPARATOR_CHAR
| Constructor Detail | 
|---|
public StringListPluginProperty(String key)
key - key to use.| Method Detail | 
|---|
public static String asString(List<String> list)
list - list to transform, maybe null.
public static List<String> fromString(String input)
input - the input.
public void appendXml(StringBuilder builder)
appendXml in interface PluginPropertybuilder - builder to append to.at.aschauer.commons.pentaho.plugin.PluginProperty#appendXml(java.lang.StringBuilder)public boolean evaluate()
evaluate in interface PluginPropertyat.aschauer.commons.pentaho.plugin.PluginProperty#evaluate()public void loadXml(Node node)
loadXml in interface PluginPropertynode - the node.at.aschauer.commons.pentaho.plugin.PluginProperty#loadXml(org.w3c.dom.Node)public void readFromPreferences(Preferences node)
readFromPreferences in interface PluginPropertynode - preferences node.at.aschauer.commons.pentaho.plugin.PluginProperty#readFromPreferences(java.util.prefs.Preferences)
public void readFromRepositoryStep(Repository repository,
                                   org.pentaho.di.repository.ObjectId stepId)
                            throws org.pentaho.di.core.exception.KettleException
readFromRepositoryStep in interface PluginPropertyrepository - the repository.stepId - the stepId.
org.pentaho.di.core.exception.KettleException - ...at.aschauer.commons.pentaho.plugin.PluginProperty#readFromRepositoryStep(org.pentaho.di.repository.Repository,
      long)public void saveToPreferences(Preferences node)
saveToPreferences in interface PluginPropertynode - preferences nodeat.aschauer.commons.pentaho.plugin.PluginProperty#saveToPreferences(java.util.prefs.Preferences)
public void saveToRepositoryStep(Repository repository,
                                 org.pentaho.di.repository.ObjectId transformationId,
                                 org.pentaho.di.repository.ObjectId stepId)
                          throws org.pentaho.di.core.exception.KettleException
saveToRepositoryStep in interface PluginPropertyrepository - the repository.transformationId - the transformationId.stepId - the stepId.
org.pentaho.di.core.exception.KettleException - ...at.aschauer.commons.pentaho.plugin.PluginProperty#saveToRepositoryStep(org.pentaho.di.repository.Repository,
      long, long)public void setValues(String... values)
values - values to set, no validation.
public Iterator<String> iterator()
                          throws IllegalStateException
iterator in interface Iterable<String>IllegalStateExceptionIterable.iterator()public boolean isEmpty()
public int size()
         throws IllegalStateException
IllegalStateException - if value is null.
public void assertValueNotNull()
                        throws IllegalStateException
IllegalStateException - if this.value is null.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||