|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.ui.spoon.Spoon
public class Spoon
This class handles the main window of the Spoon graphical transformation editor.
Fields inherited from interface org.pentaho.di.core.gui.SpoonInterface |
---|
STATE_CORE_OBJECTS_CHEF, STATE_CORE_OBJECTS_NONE, STATE_CORE_OBJECTS_SPOON, XUL_FILE_MENU_PROPERTIES, XUL_FILE_MENUBAR, XUL_FILE_MENUS |
Constructor Summary | |
---|---|
Spoon(Display d)
|
|
Spoon(Display d,
Repository rep)
|
Method Summary | |
---|---|
void |
addCoreObjectsTree()
|
void |
addDefaultKeyListeners(Control control)
|
void |
addFileListener(FileListener listener)
|
void |
addJobGraph(JobMeta jobMeta)
|
void |
addJobHistory()
|
void |
addJobHistory(JobMeta jobMeta,
boolean select)
|
void |
addJobLog()
|
void |
addMenuLast()
|
void |
addMenuListener(String id,
Object listener,
String methodName)
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
boolean |
addSpoonBrowser(String name,
String urlString)
|
boolean |
addSpoonBrowser(String name,
String urlString,
LocationListener locationListener)
|
void |
addSpoonMenuController(ISpoonMenuController menuController)
|
void |
addSpoonSlave()
|
void |
addSpoonSlave(SlaveServer slaveServer)
|
void |
addTransGraph(TransMeta transMeta)
|
void |
addTransHistory()
|
void |
addTransLog()
|
void |
addUndoChange(UndoInterface undoInterface,
Object[] from,
Object[] to,
int[] pos)
|
void |
addUndoChange(UndoInterface undoInterface,
Object[] from,
Object[] to,
int[] pos,
boolean nextAlso)
|
void |
addUndoDelete(UndoInterface undoInterface,
Object[] obj,
int[] position)
|
void |
addUndoDelete(UndoInterface undoInterface,
Object[] obj,
int[] position,
boolean nextAlso)
|
void |
addUndoNew(UndoInterface undoInterface,
Object[] obj,
int[] position)
|
void |
addUndoNew(UndoInterface undoInterface,
Object[] obj,
int[] position,
boolean nextAlso)
|
void |
addUndoPosition(UndoInterface undoInterface,
Object[] obj,
int[] pos,
Point[] prev,
Point[] curr)
|
void |
analyseImpact()
|
void |
analyseImpact(TransMeta transMeta)
|
void |
applyVariables()
|
void |
applyVariableToAllLoadedObjects(String name,
String value)
|
void |
browseVersionHistory()
|
void |
changeLooks()
|
boolean |
checkIfHopAlreadyExists(TransMeta transMeta,
TransHopMeta newHop)
|
void |
checkTrans()
|
void |
checkTrans(TransMeta transMeta)
Checks *all* the steps in the transformation, puts the result in remarks list |
void |
checkTrans(TransMeta transMeta,
boolean only_selected)
Check the steps in a transformation |
void |
clearDBCache(String id)
|
void |
clearSharedObjectCache()
|
void |
clipConnection()
|
void |
closeAllFiles()
|
void |
closeFile()
|
void |
closeRepository()
|
void |
closeSpoonBrowser()
|
void |
consume(LifeEventInfo info)
|
void |
copy()
|
void |
copyFile()
|
void |
copyJob()
|
void |
copyJob(JobMeta jobMeta)
|
void |
copyJobentries()
|
void |
copySelected(TransMeta transMeta,
List<StepMeta> steps,
List<NotePadMeta> notes)
|
void |
copySteps()
It's called copySteps, but the job entries also arrive at this location |
void |
copyTableWizard()
Create a transformation that extracts tables & data from a database. |
void |
copyTransformation()
|
void |
copyTransformation(TransMeta transMeta)
|
void |
copyTransformationImage()
|
void |
copyTransformationImage(TransMeta transMeta)
|
void |
createCmdLineFile()
|
void |
createDatabaseWizard()
Shows a wizard that creates a new database connection... |
void |
createKettleArchive(TransMeta transMeta)
|
void |
createPopupMenus()
|
void |
cut()
|
void |
debugFile()
|
void |
debugTransformation()
|
void |
delClusterSchema()
|
void |
delConnection()
|
void |
deleteJobEntryCopies()
|
void |
deleteJobEntryCopies(JobMeta jobMeta,
JobEntryCopy jobEntry)
|
void |
delHop()
|
void |
delHop(TransMeta transMeta,
TransHopMeta transHopMeta)
|
void |
delPartitionSchema()
|
void |
delSlaveServer()
|
void |
delSlaveServer(HasSlaveServersInterface hasSlaveServersInterface,
SlaveServer slaveServer)
|
void |
delStep()
|
void |
delStep(TransMeta transMeta,
StepMeta stepMeta)
|
void |
displayCmdLine()
|
void |
displayDbDependancies()
|
void |
dispose()
|
void |
disposeVariableComposite(boolean tree,
boolean shared,
boolean core,
boolean history)
|
boolean |
doDestroy()
|
void |
dupeConnection()
|
void |
dupeJobEntry()
|
void |
dupeStep()
|
void |
dupeStep(TransMeta transMeta,
StepMeta stepMeta)
|
void |
editClustering(TransMeta transMeta,
List<StepMeta> stepMetas)
Select a clustering schema for this step. |
void |
editClustering(TransMeta transMeta,
StepMeta stepMeta)
Select a clustering schema for this step. |
void |
editClusterSchema()
|
void |
editConnection()
|
void |
editHop()
|
void |
editHop(TransMeta transMeta,
TransHopMeta transHopMeta)
|
void |
editJobEntry()
|
void |
editJobEntry(JobMeta jobMeta,
JobEntryCopy je)
|
boolean |
editJobProperties(String id)
|
void |
editJobPropertiesPopup()
|
void |
editKettlePropertiesFile()
|
void |
editOptions()
|
void |
editPartitioning(TransMeta transMeta,
StepMeta stepMeta)
|
void |
editPartitionSchema()
|
boolean |
editProperties()
|
void |
editSelectAll()
|
void |
editSlaveServer()
|
void |
editStep()
|
String |
editStep(TransMeta transMeta,
StepMeta stepMeta)
|
void |
editStepErrorHandling(TransMeta transMeta,
StepMeta stepMeta)
|
boolean |
editTransformationProperties()
|
void |
editTransformationPropertiesPopup()
|
void |
editUnselectAll()
|
void |
enableMenus()
|
void |
executeFile(boolean local,
boolean remote,
boolean cluster,
boolean preview,
boolean debug,
Date replayDate,
boolean safe)
|
void |
executeJob()
|
void |
executeJob(JobMeta jobMeta,
boolean local,
boolean remote,
Date replayDate,
boolean safe,
String startCopyName,
int startCopyNr)
|
void |
executeTransformation()
|
void |
executeTransformation(TransMeta transMeta,
boolean local,
boolean remote,
boolean cluster,
boolean preview,
boolean debug,
Date replayDate,
boolean safe)
|
void |
exploreDatabase()
|
void |
exploreDB()
|
void |
exploreRepository()
|
void |
exportAllFileRepository()
Export this job or transformation including all depending resources to a single ZIP file containing a file repository. |
void |
exportAllXMLFile()
Export this job or transformation including all depending resources to a single zip file. |
void |
exportRepositoryAll()
|
boolean |
exportRepositoryDirectory(RepositoryDirectory directoryToExport)
|
boolean |
exportXMLFile()
|
Job |
findActiveJob(Job job,
JobEntryCopy jobEntryCopy)
|
Trans |
findActiveTrans(Job job,
JobEntryCopy jobEntryCopy)
|
JobMeta |
findJob(String tabItemText)
|
TransMeta |
findTransformation(String tabItemText)
|
void |
fireMenuControlers()
|
String |
fromClipboard()
|
void |
generateFieldMapping(TransMeta transMeta,
StepMeta stepMeta)
Create a new SelectValues step in between this step and the previous. |
List<DatabaseMeta> |
getActiveDatabases()
|
HasDatabasesInterface |
getActiveHasDatabasesInterface()
|
JobMeta |
getActiveJob()
|
JobGraph |
getActiveJobGraph()
|
EngineMetaInterface |
getActiveMeta()
|
TabItemInterface |
getActiveTabitem()
|
String |
getActiveTabText()
|
TransMeta |
getActiveTransformation()
|
TransGraph |
getActiveTransGraph()
|
UndoInterface |
getActiveUndoInterface()
|
String[] |
getArguments()
|
static CommandLineOption[] |
getCommandLineArgs(List<String> args)
|
static CommandLineOption |
getCommandLineOption(CommandLineOption[] options,
String opt)
|
int |
getCoreObjectsState()
Get the core object state. |
Object |
getData()
|
RepositoryDirectoryInterface |
getDefaultSaveLocation(RepositoryElementInterface repositoryElement)
|
Display |
getDisplay()
|
static Spoon |
getInstance()
|
JobEntryDialogInterface |
getJobEntryDialog(JobEntryInterface jei,
JobMeta jobMeta)
|
JobExecutionConfiguration |
getJobExecutionConfiguration()
|
String |
getLastFileOpened()
|
JobMeta[] |
getLoadedJobs()
|
TransMeta[] |
getLoadedTransformations()
|
LogChannelInterface |
getLog()
|
org.pentaho.ui.xul.XulDomContainer |
getMainSpoonContainer()
|
String |
getName()
|
PropsUI |
getProperties()
|
Repository |
getRepository()
|
String |
getRepositoryName()
|
RepositorySecurityManager |
getSecurityManager()
|
Object |
getSelectionObject()
|
Shell |
getShell()
|
void |
getSQL()
|
StepDialogInterface |
getStepEntryDialog(StepMetaInterface stepMeta,
TransMeta transMeta,
String stepName)
|
org.pentaho.xul.swt.tab.TabSet |
getTabSet()
|
TransExecutionConfiguration |
getTransDebugExecutionConfiguration()
|
TransExecutionConfiguration |
getTransExecutionConfiguration()
|
TransExecutionConfiguration |
getTransPreviewExecutionConfiguration()
|
TreeSelection[] |
getTreeObjects(Tree tree)
|
org.pentaho.vfs.ui.VfsFileChooserDialog |
getVfsFileChooserDialog(org.apache.commons.vfs.FileObject rootFile,
org.apache.commons.vfs.FileObject initialFile)
|
org.pentaho.ui.xul.XulDomContainer |
getXulDomContainer()
|
void |
handleStartOptions(CommandLineOption[] options)
|
void |
helpAbout()
|
void |
helpShowJobEntryPlugins()
Show a dialog containing information on the different job entry plugins. |
void |
helpShowStepPlugins()
Show a dialog containing information on the different step plugins. |
void |
hideSplash()
|
void |
hideToolTips()
|
void |
importDirectoryToRepository()
|
void |
importFile()
|
void |
init(TransMeta ti)
|
boolean |
isDisposed()
|
boolean |
isExecutionResultsPaneVisible()
|
boolean |
isStopped()
|
void |
lastFileSelect(String id)
|
void |
loadObjectFromRepository(String objname,
RepositoryObjectType objectType,
RepositoryDirectoryInterface repdir,
String versionLabel)
|
void |
loadPerspective(int pos)
|
void |
loadPerspective(String id)
|
void |
loadRepositoryObjects(TransMeta transMeta)
|
void |
loadSettings()
|
static void |
main(String[] a)
This is the main procedure for Spoon. |
String |
makeTabName(EngineMetaInterface transMeta,
boolean showingLocation)
|
boolean |
messageBox(String message,
String text,
boolean allowCancel,
int type)
|
Object[] |
messageDialogWithToggle(String dialogTitle,
Object image,
String message,
int dialogImageType,
String[] buttonLabels,
int defaultIndex,
String toggleMessage,
boolean toggleState)
|
void |
monitorClusterSchema()
|
void |
newClusteringSchema()
|
void |
newClusteringSchema(TransMeta transMeta)
This creates a new clustering schema, edits it and adds it to the transformation metadata |
void |
newConnection()
|
void |
newDatabasePartitioningSchema()
|
void |
newFileDropDown()
|
void |
newHop()
|
void |
newHop(TransMeta transMeta)
|
void |
newHop(TransMeta transMeta,
StepMeta fr,
StepMeta to)
|
void |
newHop(TransMeta transMeta,
TransHopMeta transHopMeta)
|
JobEntryCopy |
newJobEntry(JobMeta jobMeta,
String typeDesc,
boolean openit)
|
void |
newJobFile()
|
void |
newJobHop(JobMeta jobMeta,
JobEntryCopy fr,
JobEntryCopy to)
|
void |
newPartitioningSchema(TransMeta transMeta)
This creates a new partitioning schema, edits it and adds it to the transformation metadata |
void |
newSlaveServer()
|
void |
newSlaveServer(HasSlaveServersInterface hasSlaveServersInterface)
This creates a slave server, edits it and adds it to the transformation metadata |
void |
newStep()
|
StepMeta |
newStep(TransMeta transMeta)
|
StepMeta |
newStep(TransMeta transMeta,
boolean openit,
boolean rename)
|
StepMeta |
newStep(TransMeta transMeta,
String name,
String description,
boolean openit,
boolean rename)
Allocate new step, optionally open and rename it. |
void |
newTransFile()
|
void |
open()
|
void |
openFile()
|
void |
openFile(boolean importfile)
|
void |
openFile(String fname,
boolean importfile)
|
void |
openFileVFSFile()
|
void |
openRepository()
|
boolean |
overwritePrompt(String message,
String rememberText,
String rememberPropertyName)
|
void |
paste()
|
void |
pasteJob()
Paste job from the clipboard... |
void |
pasteTransformation()
Paste transformation from the clipboard... |
void |
pasteXML(JobMeta jobMeta,
String clipcontent,
Point loc)
|
void |
pasteXML(TransMeta transMeta,
String clipcontent,
Point loc)
|
boolean |
performNewTransHopChecks(TransMeta transMeta,
TransHopMeta newHop)
|
void |
previewFile()
|
void |
previewTransformation()
|
void |
printFile()
|
boolean |
quitFile()
|
boolean |
readAndDispatch()
|
void |
redoAction()
|
void |
redoAction(UndoInterface undoInterface)
|
void |
refreshCoreObjects()
|
void |
refreshGraph()
|
void |
refreshTree()
Refresh the object selection tree (on the left of the screen) |
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
boolean |
removeSpoonMenuController(ISpoonMenuController menuController)
|
ISpoonMenuController |
removeSpoonMenuController(String menuControllerName)
|
void |
replayTransformation()
|
JobMeta |
ripDB(List<DatabaseMeta> databases,
String jobName,
RepositoryDirectory repdir,
String directory,
DatabaseMeta sourceDbInfo,
DatabaseMeta targetDbInfo,
String[] tables)
|
void |
ripDBWizard()
Create a job that extracts tables & data from a database. |
void |
runFile()
|
boolean |
save(EngineMetaInterface meta,
String fname,
boolean export)
|
boolean |
saveFile()
|
boolean |
saveFileAs()
|
boolean |
saveFileAs(EngineMetaInterface meta)
|
boolean |
saveJobRepository(JobMeta jobMeta)
|
boolean |
saveJobRepository(JobMeta jobMeta,
boolean ask_name)
|
boolean |
saveMeta(EngineMetaInterface meta,
String fname)
|
void |
saveSettings()
|
boolean |
saveToFile(EngineMetaInterface meta)
|
boolean |
saveToRepository(EngineMetaInterface meta)
|
boolean |
saveToRepository(EngineMetaInterface meta,
boolean ask_name)
|
boolean |
saveXMLFile(boolean export)
|
boolean |
saveXMLFile(EngineMetaInterface meta,
boolean export)
|
boolean |
saveXMLFileToVfs()
|
boolean |
saveXMLFileToVfs(EngineMetaInterface meta)
|
void |
searchMetaData()
Search the transformation meta-data. |
void |
selectRep(CommandLineOption[] options)
|
void |
sendTransformationXMLToSlaveServer(TransMeta transMeta,
TransExecutionConfiguration executionConfiguration)
Sends transformation to slave server |
void |
setArguments(String[] arguments)
|
void |
setCoreObjectsState(int state)
Set the core object state. |
void |
setData(Object arg0)
|
boolean |
setDesignMode()
|
void |
setDestroy(boolean destroy)
|
void |
setJobExecutionConfiguration(JobExecutionConfiguration jobExecutionConfiguration)
|
void |
setJobMetaVariables(JobMeta jobMeta)
Set previously defined variables (set variables dialog) on the specified job |
void |
setLastFileOpened(String inLastFileOpened)
|
void |
setLog()
|
void |
setName(String arg0)
|
void |
setParametersAsVariablesInUI(NamedParams namedParameters,
VariableSpace space)
|
void |
setRepository(Repository rep)
|
void |
setShellText()
|
void |
setStopped(boolean stopped)
|
void |
setTransDebugExecutionConfiguration(TransExecutionConfiguration debugExecutionConfiguration)
|
void |
setTransExecutionConfiguration(TransExecutionConfiguration executionConfiguration)
|
void |
setTransMetaVariables(TransMeta transMeta)
Set previously defined variables (set variables dialog) on the specified transformation |
void |
setTransPreviewExecutionConfiguration(TransExecutionConfiguration previewExecutionConfiguration)
|
void |
setUndoMenu(UndoInterface undoInterface)
Sets the text and enabled settings for the undo and redo menu items |
void |
setVariables()
|
boolean |
setViewMode()
|
void |
setXulDomContainer(org.pentaho.ui.xul.XulDomContainer arg0)
|
void |
shareObject(String id)
|
void |
showArguments()
|
void |
showExecutionResults()
|
void |
showLastImpactAnalyses()
|
void |
showLastImpactAnalyses(TransMeta transMeta)
|
void |
showLastTransCheck()
Show the remarks of the last transformation check that was run. |
void |
showLastTransPreview()
|
void |
showSelection()
If you click in the tree, you might want to show the corresponding window. |
void |
showTips()
|
void |
showVariables()
|
void |
showWelcomePage()
|
void |
sleep()
|
void |
sortHops()
|
void |
sqlConnection()
|
void |
start(CommandLineOption[] options)
|
boolean |
tabClose(org.pentaho.xul.swt.tab.TabItem item)
|
void |
tabDeselected(org.pentaho.xul.swt.tab.TabItem item)
|
void |
tabSelected(org.pentaho.xul.swt.tab.TabItem item)
|
void |
toClipboard(String cliptext)
|
String |
toString()
|
void |
undoAction()
|
void |
undoAction(UndoInterface undoInterface)
|
void |
update(ChangedFlagInterface o,
Object arg)
|
void |
verifyCopyDistribute(TransMeta transMeta,
StepMeta fr)
|
void |
zoom100Percent()
|
void |
zoomIn()
|
void |
zoomOut()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LoggingObjectInterface loggingObject
public static final String STRING_TRANSFORMATIONS
public static final String STRING_JOBS
public static final String STRING_BUILDING_BLOCKS
public static final String STRING_ELEMENTS
public static final String STRING_CONNECTIONS
public static final String STRING_STEPS
public static final String STRING_JOB_ENTRIES
public static final String STRING_HOPS
public static final String STRING_PARTITIONS
public static final String STRING_SLAVES
public static final String STRING_CLUSTERS
public static final String STRING_TRANS_BASE
public static final String STRING_JOB_BASE
public static final String STRING_HISTORY
public static final String STRING_TRANS_NO_NAME
public static final String STRING_JOB_NO_NAME
public static final String STRING_TRANSFORMATION
public static final String STRING_JOB
public static final String APP_NAME
public org.pentaho.xul.swt.tab.TabSet tabfolder
public SpoonDelegates delegates
public RowMetaAndData variables
public PropsUI props
public Repository rep
public RepositoryCapabilities capabilities
public Text selectionFilter
public Map<String,SharedObjects> sharedObjectsFileMap
public String lastDirOpened
public static final String XUL_FILE_MAIN
public static final String XML_TAG_TRANSFORMATION_STEPS
public static final String XML_TAG_JOB_JOB_ENTRIES
public boolean showTrans
public boolean showJob
Constructor Detail |
---|
public Spoon(Display d)
public Spoon(Display d, Repository rep)
Method Detail |
---|
public static void main(String[] a) throws KettleException
a
- Arguments are available in the "Get System Info" step.
KettleException
public void init(TransMeta ti)
public org.pentaho.ui.xul.XulDomContainer getMainSpoonContainer()
public void loadPerspective(String id)
public void loadPerspective(int pos)
public Shell getShell()
public static Spoon getInstance()
public org.pentaho.vfs.ui.VfsFileChooserDialog getVfsFileChooserDialog(org.apache.commons.vfs.FileObject rootFile, org.apache.commons.vfs.FileObject initialFile)
public void closeFile()
public void closeAllFiles()
public void closeSpoonBrowser()
public void searchMetaData()
public void showArguments()
public void setVariables()
public void applyVariables()
public void applyVariableToAllLoadedObjects(String name, String value)
public void showVariables()
public void open()
public boolean readAndDispatch()
public boolean isStopped()
public void setStopped(boolean stopped)
stopped
- True to stop this application.public void setDestroy(boolean destroy)
destroy
- Whether or not to distroy the display.public boolean doDestroy()
public void setArguments(String[] arguments)
arguments
- The arguments to set.public String[] getArguments()
public void dispose()
public boolean isDisposed()
public void sleep()
public void undoAction()
public void redoAction()
public void copySteps()
public void copyJobentries()
public void copy()
public void copyFile()
public void cut()
public void createPopupMenus()
public void executeTransformation()
public void previewTransformation()
public void debugTransformation()
public void checkTrans()
public void analyseImpact()
public void showLastImpactAnalyses()
public void showLastTransPreview()
public void showExecutionResults()
public boolean isExecutionResultsPaneVisible()
public void copyTransformation()
public void copyTransformationImage()
public boolean editTransformationProperties()
public boolean editProperties()
public void executeJob()
public void copyJob()
public void showTips()
public void showWelcomePage()
public void addMenuLast()
public void lastFileSelect(String id)
public void addDefaultKeyListeners(Control control)
public boolean setViewMode()
public boolean setDesignMode()
public void disposeVariableComposite(boolean tree, boolean shared, boolean core, boolean history)
public void addCoreObjectsTree()
public void refreshCoreObjects()
public TreeSelection[] getTreeObjects(Tree tree)
public void hideToolTips()
public void showSelection()
public void newHop()
public void sortHops()
public void newDatabasePartitioningSchema()
public void newClusteringSchema()
public void newSlaveServer()
public void editTransformationPropertiesPopup()
public void addTransLog()
public void addTransHistory()
public boolean editJobProperties(String id)
public void editJobPropertiesPopup()
public void addJobLog()
public void addJobHistory()
public void newStep()
public void editConnection()
public void dupeConnection()
public void clipConnection()
public void delConnection()
public void sqlConnection()
public void clearDBCache(String id)
public void exploreDatabase()
public void exploreDB()
public void editStep()
public void dupeStep()
public void delStep()
public void shareObject(String id)
public void editJobEntry()
public void dupeJobEntry()
public void deleteJobEntryCopies()
public void editHop()
public void delHop()
public void editPartitionSchema()
public void delPartitionSchema()
public void editClusterSchema()
public void delClusterSchema()
public void monitorClusterSchema() throws KettleException
KettleException
public void editSlaveServer()
public void delSlaveServer()
public void addSpoonSlave()
public void tabDeselected(org.pentaho.xul.swt.tab.TabItem item)
tabDeselected
in interface org.pentaho.xul.swt.tab.TabListener
public boolean tabClose(org.pentaho.xul.swt.tab.TabItem item)
tabClose
in interface org.pentaho.xul.swt.tab.TabListener
public org.pentaho.xul.swt.tab.TabSet getTabSet()
public void tabSelected(org.pentaho.xul.swt.tab.TabItem item)
tabSelected
in interface org.pentaho.xul.swt.tab.TabListener
public String getRepositoryName()
public void pasteXML(TransMeta transMeta, String clipcontent, Point loc)
public void copySelected(TransMeta transMeta, List<StepMeta> steps, List<NotePadMeta> notes)
public void editHop(TransMeta transMeta, TransHopMeta transHopMeta)
public void delHop(TransMeta transMeta, TransHopMeta transHopMeta)
public void newHop(TransMeta transMeta, StepMeta fr, StepMeta to)
public void newHop(TransMeta transMeta, TransHopMeta transHopMeta)
public boolean checkIfHopAlreadyExists(TransMeta transMeta, TransHopMeta newHop)
transMeta
- newHop
-
public boolean performNewTransHopChecks(TransMeta transMeta, TransHopMeta newHop)
transMeta
- newHop
-
public void verifyCopyDistribute(TransMeta transMeta, StepMeta fr)
public void newHop(TransMeta transMeta)
public void openRepository()
public void clearSharedObjectCache() throws KettleException
KettleException
public void exploreRepository()
public void loadObjectFromRepository(String objname, RepositoryObjectType objectType, RepositoryDirectoryInterface repdir, String versionLabel)
public void closeRepository()
public void openFile()
public void importFile()
public void openFile(boolean importfile)
public String getLastFileOpened()
public void setLastFileOpened(String inLastFileOpened)
public void displayCmdLine()
public void createCmdLineFile()
public void openFileVFSFile()
public void addFileListener(FileListener listener)
public void openFile(String fname, boolean importfile)
public PropsUI getProperties()
public void newFileDropDown()
public void newTransFile()
public void newJobFile()
public void setTransMetaVariables(TransMeta transMeta)
transMeta
- public void setJobMetaVariables(JobMeta jobMeta)
jobMeta
- public void loadRepositoryObjects(TransMeta transMeta)
public boolean quitFile() throws KettleException
KettleException
public boolean saveFile()
public boolean saveToFile(EngineMetaInterface meta) throws KettleException
KettleException
public boolean saveToRepository(EngineMetaInterface meta) throws KettleException
KettleException
public boolean saveToRepository(EngineMetaInterface meta, boolean ask_name) throws KettleException
KettleException
public boolean saveJobRepository(JobMeta jobMeta) throws KettleException
KettleException
public boolean saveJobRepository(JobMeta jobMeta, boolean ask_name) throws KettleException
KettleException
public boolean saveFileAs() throws KettleException
KettleException
public boolean saveFileAs(EngineMetaInterface meta) throws KettleException
KettleException
public boolean exportXMLFile()
public void exportAllXMLFile()
public void exportAllFileRepository()
public void exportRepositoryAll()
public boolean exportRepositoryDirectory(RepositoryDirectory directoryToExport)
directoryToExport
- set to null to export the complete repository
public void importDirectoryToRepository()
public boolean saveXMLFile(boolean export)
public boolean saveXMLFile(EngineMetaInterface meta, boolean export)
public boolean saveXMLFileToVfs()
public boolean saveXMLFileToVfs(EngineMetaInterface meta)
public boolean save(EngineMetaInterface meta, String fname, boolean export)
public boolean saveMeta(EngineMetaInterface meta, String fname)
public void helpAbout()
public void helpShowStepPlugins()
public void helpShowJobEntryPlugins()
public void editUnselectAll()
public void editSelectAll()
public void editOptions()
public void editKettlePropertiesFile()
public void refreshTree()
public String getActiveTabText()
public void refreshGraph()
public StepMeta newStep(TransMeta transMeta)
public StepMeta newStep(TransMeta transMeta, boolean openit, boolean rename)
public StepMeta newStep(TransMeta transMeta, String name, String description, boolean openit, boolean rename)
name
- Name of the new stepdescription
- Description of the type of stepopenit
- Open the dialog for this step?rename
- Rename this step?
public void setShellText()
public void enableMenus()
public void addSpoonMenuController(ISpoonMenuController menuController)
public boolean removeSpoonMenuController(ISpoonMenuController menuController)
public ISpoonMenuController removeSpoonMenuController(String menuControllerName)
public void printFile()
public TransGraph getActiveTransGraph()
public JobGraph getActiveJobGraph()
public EngineMetaInterface getActiveMeta()
public TabItemInterface getActiveTabitem()
public TransMeta getActiveTransformation()
public JobMeta getActiveJob()
public UndoInterface getActiveUndoInterface()
public TransMeta findTransformation(String tabItemText)
public JobMeta findJob(String tabItemText)
public TransMeta[] getLoadedTransformations()
public JobMeta[] getLoadedJobs()
public void saveSettings()
public void loadSettings()
public void changeLooks()
public void undoAction(UndoInterface undoInterface)
public void redoAction(UndoInterface undoInterface)
public void setUndoMenu(UndoInterface undoInterface)
undoInterface
- the object which holds the undo/redo informationpublic void addUndoNew(UndoInterface undoInterface, Object[] obj, int[] position)
public void addUndoNew(UndoInterface undoInterface, Object[] obj, int[] position, boolean nextAlso)
public void addUndoDelete(UndoInterface undoInterface, Object[] obj, int[] position)
public void addUndoDelete(UndoInterface undoInterface, Object[] obj, int[] position, boolean nextAlso)
public void addUndoPosition(UndoInterface undoInterface, Object[] obj, int[] pos, Point[] prev, Point[] curr)
addUndoPosition
in interface AddUndoPositionInterface
public void addUndoChange(UndoInterface undoInterface, Object[] from, Object[] to, int[] pos)
public void addUndoChange(UndoInterface undoInterface, Object[] from, Object[] to, int[] pos, boolean nextAlso)
public void checkTrans(TransMeta transMeta)
public void checkTrans(TransMeta transMeta, boolean only_selected)
only_selected
- True: Check only the selected steps...public void showLastTransCheck()
checkTrans()
public void analyseImpact(TransMeta transMeta)
public void showLastImpactAnalyses(TransMeta transMeta)
public void toClipboard(String cliptext)
public String fromClipboard()
public void pasteTransformation()
public void pasteJob()
public void copyTransformation(TransMeta transMeta)
public void copyJob(JobMeta jobMeta)
public void copyTransformationImage(TransMeta transMeta)
public HasDatabasesInterface getActiveHasDatabasesInterface()
public void createDatabaseWizard()
public List<DatabaseMeta> getActiveDatabases()
public void copyTableWizard()
0) Select the database to rip
1) Select the table in the database to copy
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 transformation
6) Create 1 transformation for the selected table
public String toString()
toString
in class Object
public void selectRep(CommandLineOption[] options)
public void handleStartOptions(CommandLineOption[] options)
public void start(CommandLineOption[] options) throws KettleException
KettleException
public static CommandLineOption getCommandLineOption(CommandLineOption[] options, String opt)
public static CommandLineOption[] getCommandLineArgs(List<String> args)
public void generateFieldMapping(TransMeta transMeta, StepMeta stepMeta)
stepMeta
- The target step to map against.public void editPartitioning(TransMeta transMeta, StepMeta stepMeta)
public void editClustering(TransMeta transMeta, StepMeta stepMeta)
stepMeta
- The step to set the clustering schema for.public void editClustering(TransMeta transMeta, List<StepMeta> stepMetas)
stepMeta
- The steps (at least one!) to set the clustering schema for.public void createKettleArchive(TransMeta transMeta)
public void newPartitioningSchema(TransMeta transMeta)
public void newClusteringSchema(TransMeta transMeta)
public void newSlaveServer(HasSlaveServersInterface hasSlaveServersInterface)
public void delSlaveServer(HasSlaveServersInterface hasSlaveServersInterface, SlaveServer slaveServer)
public void sendTransformationXMLToSlaveServer(TransMeta transMeta, TransExecutionConfiguration executionConfiguration)
executionConfiguration
- public void runFile()
public void replayTransformation()
public void previewFile()
public void debugFile()
public void executeFile(boolean local, boolean remote, boolean cluster, boolean preview, boolean debug, Date replayDate, boolean safe)
public void executeTransformation(TransMeta transMeta, boolean local, boolean remote, boolean cluster, boolean preview, boolean debug, Date replayDate, boolean safe)
public void executeJob(JobMeta jobMeta, boolean local, boolean remote, Date replayDate, boolean safe, String startCopyName, int startCopyNr)
public void addSpoonSlave(SlaveServer slaveServer)
public void addJobHistory(JobMeta jobMeta, boolean select)
public void paste()
public JobEntryCopy newJobEntry(JobMeta jobMeta, String typeDesc, boolean openit)
public JobEntryDialogInterface getJobEntryDialog(JobEntryInterface jei, 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 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, RepositoryDirectory repdir, String directory, DatabaseMeta sourceDbInfo, DatabaseMeta targetDbInfo, String[] tables)
public void setCoreObjectsState(int state)
state
- public int getCoreObjectsState()
public LogChannelInterface getLog()
public Repository getRepository()
public void setRepository(Repository rep)
public void addMenuListener(String id, Object listener, String methodName)
public void addTransGraph(TransMeta transMeta)
addTransGraph
in interface SpoonInterface
public void addJobGraph(JobMeta jobMeta)
public boolean addSpoonBrowser(String name, String urlString, LocationListener locationListener)
public boolean addSpoonBrowser(String name, String urlString)
addSpoonBrowser
in interface SpoonInterface
public TransExecutionConfiguration getTransExecutionConfiguration()
public Object[] messageDialogWithToggle(String dialogTitle, Object image, String message, int dialogImageType, String[] buttonLabels, int defaultIndex, String toggleMessage, boolean toggleState)
messageDialogWithToggle
in interface SpoonInterface
public void editStepErrorHandling(TransMeta transMeta, StepMeta stepMeta)
public String editStep(TransMeta transMeta, StepMeta stepMeta)
public void dupeStep(TransMeta transMeta, StepMeta stepMeta)
public void delStep(TransMeta transMeta, StepMeta stepMeta)
public String makeTabName(EngineMetaInterface transMeta, boolean showingLocation)
public void newConnection()
public void getSQL()
public boolean overwritePrompt(String message, String rememberText, String rememberPropertyName)
overwritePrompt
in interface OverwritePrompter
public boolean messageBox(String message, String text, boolean allowCancel, int type)
messageBox
in interface SpoonInterface
public TransExecutionConfiguration getTransPreviewExecutionConfiguration()
public void setTransPreviewExecutionConfiguration(TransExecutionConfiguration previewExecutionConfiguration)
previewExecutionConfiguration
- the previewExecutionConfiguration to setpublic TransExecutionConfiguration getTransDebugExecutionConfiguration()
public void setTransDebugExecutionConfiguration(TransExecutionConfiguration debugExecutionConfiguration)
debugExecutionConfiguration
- the debugExecutionConfiguration to setpublic void setTransExecutionConfiguration(TransExecutionConfiguration executionConfiguration)
executionConfiguration
- the executionConfiguration to setpublic JobExecutionConfiguration getJobExecutionConfiguration()
public void setJobExecutionConfiguration(JobExecutionConfiguration jobExecutionConfiguration)
jobExecutionConfiguration
- the jobExecutionConfiguration to setpublic void update(ChangedFlagInterface o, Object arg)
update
in interface PDIObserver
public void consume(LifeEventInfo info)
consume
in interface LifeEventHandler
public void setLog()
public Display getDisplay()
public void zoomIn()
public void zoomOut()
public void zoom100Percent()
public void setParametersAsVariablesInUI(NamedParams namedParameters, VariableSpace space)
public void browseVersionHistory()
public Trans findActiveTrans(Job job, JobEntryCopy jobEntryCopy)
public Job findActiveJob(Job job, JobEntryCopy jobEntryCopy)
public Object getSelectionObject()
public RepositoryDirectoryInterface getDefaultSaveLocation(RepositoryElementInterface repositoryElement)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface org.pentaho.ui.xul.XulEventSource
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface org.pentaho.ui.xul.XulEventSource
public Object getData()
getData
in interface org.pentaho.ui.xul.impl.XulEventHandler
public String getName()
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()
getXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setData(Object arg0)
setData
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setName(String arg0)
setName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer arg0)
setXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public RepositorySecurityManager getSecurityManager()
public void displayDbDependancies()
public void fireMenuControlers()
public void hideSplash()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |