Package org.pentaho.di.core.util
Interface PluginProperty
-
- All Known Implementing Classes:
BooleanPluginProperty,IntegerPluginProperty,StringListPluginProperty,StringPluginProperty
public interface PluginProperty- Author:
- Thomas Hoedl(asc042)
-
-
Field Summary
Fields Modifier and Type Field Description static StringBOOLEAN_STRING_TRUEThe true value.static BooleanDEFAULT_BOOLEAN_VALUEThe default value.static DoubleDEFAULT_DOUBLE_VALUEThe default double value.static IntegerDEFAULT_INTEGER_VALUEThe default integer value.static StringDEFAULT_STRING_VALUEThe default string value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendXml(StringBuilder builder)booleanevaluate()voidloadXml(Node node)voidreadFromPreferences(Preferences node)voidreadFromRepositoryStep(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId stepId)voidsaveToPreferences(Preferences node)voidsaveToRepositoryStep(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId transformationId, org.pentaho.di.repository.ObjectId stepId)
-
-
-
Field Detail
-
DEFAULT_STRING_VALUE
static final String DEFAULT_STRING_VALUE
The default string value.- See Also:
- Constant Field Values
-
DEFAULT_BOOLEAN_VALUE
static final Boolean DEFAULT_BOOLEAN_VALUE
The default value.
-
DEFAULT_INTEGER_VALUE
static final Integer DEFAULT_INTEGER_VALUE
The default integer value.
-
DEFAULT_DOUBLE_VALUE
static final Double DEFAULT_DOUBLE_VALUE
The default double value.
-
BOOLEAN_STRING_TRUE
static final String BOOLEAN_STRING_TRUE
The true value.- See Also:
- Constant Field Values
-
-
Method Detail
-
evaluate
boolean evaluate()
- Returns:
- true if value not null or 'false'.
-
saveToPreferences
void saveToPreferences(Preferences node)
- Parameters:
node- preferences node
-
readFromPreferences
void readFromPreferences(Preferences node)
- Parameters:
node- preferences node.
-
appendXml
void appendXml(StringBuilder builder)
- Parameters:
builder- builder to append to.
-
loadXml
void loadXml(Node node)
- Parameters:
node- the node.
-
saveToRepositoryStep
void saveToRepositoryStep(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId transformationId, org.pentaho.di.repository.ObjectId stepId) throws org.pentaho.di.core.exception.KettleException
- Parameters:
repository- the repository.metaStore- the MetaStoretransformationId- the transformationId.stepId- the stepId.- Throws:
org.pentaho.di.core.exception.KettleException- ...
-
readFromRepositoryStep
void readFromRepositoryStep(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId stepId) throws org.pentaho.di.core.exception.KettleException
- Parameters:
repository- the repository.stepId- the stepId.- Throws:
org.pentaho.di.core.exception.KettleException- ...
-
-