public class IntegerPluginProperty extends KeyValue<Integer> implements PluginProperty
DEFAULT_TRUE_VALUES, VALID_KEY_CHARSBOOLEAN_STRING_TRUE, DEFAULT_BOOLEAN_VALUE, DEFAULT_DOUBLE_VALUE, DEFAULT_INTEGER_VALUE, DEFAULT_STRING_VALUE| Constructor and Description |
|---|
IntegerPluginProperty(String key)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendXml(StringBuilder builder) |
boolean |
evaluate() |
void |
loadXml(Node node) |
void |
readFromPreferences(Preferences node) |
void |
readFromRepositoryStep(Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId stepId) |
void |
saveToPreferences(Preferences node) |
void |
saveToRepositoryStep(Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId transformationId,
ObjectId stepId) |
assertKey, booleanValue, booleanValue, booleanValue, booleanValue, booleanValue, doubleValue, doubleValue, floatValue, floatValue, getKey, getValue, integerValue, integerValue, longValue, longValue, setValue, stringValue, stringValue, stringValueDefaultIfBlank, toString, value, valuepublic IntegerPluginProperty(String key) throws IllegalArgumentException
key - key to set.IllegalArgumentException - if key is invalid.public boolean evaluate()
evaluate in interface PluginPropertyat.aschauer.commons.pentaho.plugin.PluginProperty#evaluate()public void appendXml(StringBuilder builder)
appendXml in interface PluginPropertybuilder - builder to append to.at.aschauer.commons.pentaho.plugin.PluginProperty#appendXml(java.lang.StringBuilder)public void loadXml(Node node)
loadXml in interface PluginPropertynode - the node.at.aschauer.commons.pentaho.plugin.PluginProperty#loadXml(org.w3c.dom.Node)public void readFromRepositoryStep(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId stepId) throws KettleException
readFromRepositoryStep in interface PluginPropertyrepository - the repository.stepId - the stepId.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 readFromPreferences(Preferences node)
readFromPreferences in interface PluginPropertynode - preferences node.at.aschauer.commons.pentaho.plugin.PluginProperty#readFromPreferences(java.util.prefs.Preferences)public void saveToRepositoryStep(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId transformationId, ObjectId stepId) throws KettleException
saveToRepositoryStep in interface PluginPropertyrepository - the repository.metaStore - the MetaStoretransformationId - the transformationId.stepId - the stepId.KettleException - ...at.aschauer.commons.pentaho.plugin.PluginProperty#saveToRepositoryStep(org.pentaho.di.repository.Repository,
long, long)Copyright © 2018 Hitachi Vantara. All rights reserved.