org.pentaho.di.core.util
Interface PluginProperty

All Known Implementing Classes:
BooleanPluginProperty, IntegerPluginProperty, StringListPluginProperty, StringPluginProperty

public interface PluginProperty

Author:
Thomas Hoedl(asc042)

Field Summary
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
 void appendXml(StringBuilder builder)
           
 boolean evaluate()
           
 void loadXml(Node node)
           
 void readFromPreferences(Preferences node)
           
 void readFromRepositoryStep(Repository repository, ObjectId stepId)
           
 void saveToPreferences(Preferences node)
           
 void saveToRepositoryStep(Repository repository, ObjectId transformationId, 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,
                          ObjectId transformationId,
                          ObjectId stepId)
                          throws KettleException
Parameters:
repository - the repository.
transformationId - the transformationId.
stepId - the stepId.
Throws:
KettleException - ...

readFromRepositoryStep

void readFromRepositoryStep(Repository repository,
                            ObjectId stepId)
                            throws KettleException
Parameters:
repository - the repository.
stepId - the stepId.
Throws:
KettleException - ...