|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.trans.step.BaseStepMeta
org.pentaho.di.core.util.AbstractStepMeta
public abstract class AbstractStepMeta
| Field Summary |
|---|
| Fields inherited from class org.pentaho.di.trans.step.BaseStepMeta |
|---|
loggingObject, STEP_ATTRIBUTES_FILE |
| Constructor Summary | |
|---|---|
AbstractStepMeta()
Default constructor. |
|
| Method Summary | |
|---|---|
StringPluginProperty |
getConnectionName()
|
DatabaseMeta |
getDbMeta()
|
KeyValueSet |
getProperties()
|
PluginPropertyFactory |
getPropertyFactory()
|
StepDataInterface |
getStepData()
Get a new instance of the appropriate data class. |
String |
getXML()
Produces the XML string that describes this step's information. |
void |
loadXML(Node node,
List<DatabaseMeta> databaseMeta,
Map<String,Counter> counters)
Load the values for this step from an XML Node |
void |
readFromPreferences()
Read properties from preferences. |
void |
readRep(Repository repo,
ObjectId stepId,
List<DatabaseMeta> databaseList,
Map<String,Counter> counters)
Read the steps information from a Kettle repository |
void |
saveAsPreferences()
Saves properties to preferences. |
void |
saveRep(Repository repo,
ObjectId transformationId,
ObjectId stepId)
Save the steps data into a Kettle repository |
void |
setConnectionName(StringPluginProperty connectionName)
|
void |
setDbMeta(DatabaseMeta dbMeta)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractStepMeta()
| Method Detail |
|---|
public PluginPropertyFactory getPropertyFactory()
public KeyValueSet getProperties()
public void saveAsPreferences()
throws BackingStoreException
BackingStoreException - ...public void readFromPreferences()
public void loadXML(Node node,
List<DatabaseMeta> databaseMeta,
Map<String,Counter> counters)
throws KettleXMLException
loadXML in interface StepMetaInterfacenode - the Node to get the info fromdatabaseMeta - The available list of databases to reference tocounters - Counters to reference.
KettleXMLException - When an unexpected XML error occurred. (malformed etc.)StepMetaInterface.loadXML(org.w3c.dom.Node, java.util.List, java.util.Map)
public String getXML()
throws KettleException
getXML in interface StepMetaInterfacegetXML in class BaseStepMetaKettleException - in case there is a conversion or XML encoding errorBaseStepMeta.getXML()
public void readRep(Repository repo,
ObjectId stepId,
List<DatabaseMeta> databaseList,
Map<String,Counter> counters)
throws KettleException
readRep in interface StepMetaInterfacerepo - The repository to read fromstepId - The step IDdatabaseList - The databases to referencecounters - The counters to reference
KettleException - When an unexpected error occurred (database, network, etc)org.pentaho.di.trans.step.StepMetaInterface#readRep(org.pentaho.di.repository.Repository, long,
java.util.List, java.util.Map)
public void saveRep(Repository repo,
ObjectId transformationId,
ObjectId stepId)
throws KettleException
saveRep in interface StepMetaInterfacerepo - The Kettle repository to save totransformationId - The transformation IDstepId - The step ID
KettleException - When an unexpected error occurred (database, network, etc)org.pentaho.di.trans.step.StepMetaInterface#saveRep(org.pentaho.di.repository.Repository, long, long)public StepDataInterface getStepData()
getStepData in interface StepMetaInterfaceStepMetaInterface.getStepData()public StringPluginProperty getConnectionName()
public void setConnectionName(StringPluginProperty connectionName)
connectionName - the connectionName to setpublic DatabaseMeta getDbMeta()
public void setDbMeta(DatabaseMeta dbMeta)
dbMeta - the dbMeta to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||