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 String
BOOLEAN_STRING_TRUE
The true value.static Boolean
DEFAULT_BOOLEAN_VALUE
The default value.static Double
DEFAULT_DOUBLE_VALUE
The default double value.static Integer
DEFAULT_INTEGER_VALUE
The default integer value.static String
DEFAULT_STRING_VALUE
The default string value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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, org.pentaho.di.repository.ObjectId stepId)
void
saveToPreferences(Preferences node)
void
saveToRepositoryStep(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
- ...
-
-