|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.ui.spoon.delegates.SpoonDelegate org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate
public class SpoonJobDelegate
Field Summary |
---|
Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate |
---|
loggingObject |
Constructor Summary | |
---|---|
SpoonJobDelegate(Spoon spoon)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpoonJobDelegate(Spoon spoon)
Method Detail |
---|
public JobEntryCopy newJobEntry(JobMeta jobMeta, String type_desc, boolean openit)
public JobEntryDialogInterface getJobEntryDialog(JobEntryInterface jobEntryInterface, JobMeta jobMeta)
public StepDialogInterface getStepEntryDialog(StepMetaInterface stepMeta, TransMeta transMeta, String stepName)
public void editJobEntry(JobMeta jobMeta, JobEntryCopy je)
public void deleteJobEntryCopies(JobMeta jobMeta, JobEntryCopy jobEntry)
public void dupeJobEntry(JobMeta jobMeta, JobEntryCopy jobEntry)
public void copyJobEntries(JobMeta jobMeta, List<JobEntryCopy> jec)
public void pasteXML(JobMeta jobMeta, String clipcontent, Point loc)
public void newJobHop(JobMeta jobMeta, JobEntryCopy fr, JobEntryCopy to)
public void ripDBWizard()
0) Select the database to rip
1) Select the tables in the database to rip
2) Select the database to dump to
3) Select the repository directory in which it will end up
4) Select a name for the new job
5) Create an empty job with the selected name.
6) Create 1 transformation for every selected table
7) add every created transformation to the job & evaluate
public JobMeta ripDB(List<DatabaseMeta> databases, String jobname, RepositoryDirectoryInterface repdir, String directory, DatabaseMeta sourceDbInfo, DatabaseMeta targetDbInfo, String[] tables)
public boolean isDefaultJobName(String name)
public JobGraph findJobGraphOfJob(JobMeta jobMeta)
public boolean addJob(JobMeta jobMeta)
jobMeta
- the job to add to the map
public void closeJob(JobMeta jobMeta)
transMeta
- the transformation to close, make sure it's ok to dispose of
it BEFORE you call this.public void addJobGraph(JobMeta jobMeta)
public List<JobMeta> getJobList()
public JobMeta getJob(String name)
public JobMeta[] getLoadedJobs()
public void removeJob(String key)
public void redoJobAction(JobMeta jobMeta, TransAction transAction)
public void undoJobAction(JobMeta jobMeta, TransAction transAction)
public void executeJob(JobMeta jobMeta, boolean local, boolean remote, Date replayDate, boolean safe, String startCopyName, int startCopyNr) throws KettleException
KettleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |