|
||||||||||
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()
|
org.pentaho.di.core.database.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<org.pentaho.di.core.database.DatabaseMeta> databaseMeta,
Map<String,org.pentaho.di.core.Counter> counters)
Load the values for this step from an XML Node |
void |
readFromPreferences()
Read properties from preferences. |
void |
readRep(Repository repo,
org.pentaho.di.repository.ObjectId stepId,
List<org.pentaho.di.core.database.DatabaseMeta> databaseList,
Map<String,org.pentaho.di.core.Counter> counters)
Read the steps information from a Kettle repository |
void |
saveAsPreferences()
Saves properties to preferences. |
void |
saveRep(Repository repo,
org.pentaho.di.repository.ObjectId transformationId,
org.pentaho.di.repository.ObjectId stepId)
Save the steps data into a Kettle repository |
void |
setConnectionName(StringPluginProperty connectionName)
|
void |
setDbMeta(org.pentaho.di.core.database.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<org.pentaho.di.core.database.DatabaseMeta> databaseMeta, Map<String,org.pentaho.di.core.Counter> counters) throws org.pentaho.di.core.exception.KettleXMLException
loadXML
in interface StepMetaInterface
node
- the Node to get the info fromdatabaseMeta
- The available list of databases to reference tocounters
- Counters to reference.
org.pentaho.di.core.exception.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 org.pentaho.di.core.exception.KettleException
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
org.pentaho.di.core.exception.KettleException
- in case there is a conversion or XML encoding errorBaseStepMeta.getXML()
public void readRep(Repository repo, org.pentaho.di.repository.ObjectId stepId, List<org.pentaho.di.core.database.DatabaseMeta> databaseList, Map<String,org.pentaho.di.core.Counter> counters) throws org.pentaho.di.core.exception.KettleException
readRep
in interface StepMetaInterface
repo
- The repository to read fromstepId
- The step IDdatabaseList
- The databases to referencecounters
- The counters to reference
org.pentaho.di.core.exception.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, org.pentaho.di.repository.ObjectId transformationId, org.pentaho.di.repository.ObjectId stepId) throws org.pentaho.di.core.exception.KettleException
saveRep
in interface StepMetaInterface
repo
- The Kettle repository to save totransformationId
- The transformation IDstepId
- The step ID
org.pentaho.di.core.exception.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 StepMetaInterface
StepMetaInterface.getStepData()
public StringPluginProperty getConnectionName()
public void setConnectionName(StringPluginProperty connectionName)
connectionName
- the connectionName to setpublic org.pentaho.di.core.database.DatabaseMeta getDbMeta()
public void setDbMeta(org.pentaho.di.core.database.DatabaseMeta dbMeta)
dbMeta
- the dbMeta to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |