public abstract class AbstractMeta extends Object implements ChangedFlagInterface, UndoInterface, HasDatabasesInterface, org.pentaho.di.core.variables.VariableSpace, EngineMetaInterface, org.pentaho.di.core.parameters.NamedParams, HasSlaveServersInterface, org.pentaho.di.core.AttributesInterface, HasRepositoryInterface, org.pentaho.di.core.logging.LoggingObjectInterface
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,Map<String,String>> |
attributesMap |
protected boolean |
changedDatabases |
protected ChangedFlag |
changedFlag |
protected boolean |
changedNotes |
protected ChannelLogTable |
channelLogTable |
protected String |
containerObjectId |
protected Set<ContentChangedListener> |
contentChangedListeners |
protected Date |
createdDate |
protected String |
createdUser |
protected Set<CurrentDirectoryChangedListener> |
currentDirectoryChangedListeners |
protected List<org.pentaho.di.core.database.DatabaseMeta> |
databases |
protected String |
description |
protected org.pentaho.di.repository.RepositoryDirectoryInterface |
directory |
protected EmbeddedMetaStore |
embeddedMetaStore |
protected String |
embeddedMetastoreProviderKey |
protected String |
extendedDescription |
protected String |
filename |
protected Set<FilenameChangedListener> |
filenameChangedListeners |
protected org.pentaho.di.core.logging.LogLevel |
logLevel |
protected int |
max_undo |
protected org.pentaho.metastore.api.IMetaStore |
metaStore |
protected org.pentaho.di.core.osgi.api.MetastoreLocatorOsgi |
metastoreLocatorOsgi |
protected Date |
modifiedDate |
protected String |
modifiedUser |
protected String |
name |
protected Set<NameChangedListener> |
nameChangedListeners |
protected NamedClusterEmbedManager |
namedClusterEmbedManager |
protected org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi |
namedClusterServiceOsgi |
protected org.pentaho.di.core.parameters.NamedParams |
namedParams |
protected List<NotePadMeta> |
notes |
protected org.pentaho.di.repository.ObjectId |
objectId |
protected org.pentaho.di.repository.ObjectRevision |
objectRevision |
protected Set<String> |
privateDatabases
The set of names of databases available only for this meta.
|
protected Repository |
repository
The repository to reference in the one-off case that it is needed
|
protected org.pentaho.di.base.AbstractMeta.RunOptions |
runOptions |
protected SharedObjects |
sharedObjects
The last loaded version of the shared objects
|
protected String |
sharedObjectsFile
If this is null, we load from the default shared objects file : $KETTLE_HOME/.kettle/shared.xml
|
protected List<SlaveServer> |
slaveServers |
static int |
TYPE_UNDO_CHANGE
Constant = 1
|
static int |
TYPE_UNDO_DELETE
Constant = 3
|
static int |
TYPE_UNDO_NEW
Constant = 2
|
static int |
TYPE_UNDO_POSITION
Constant = 4
|
protected List<TransAction> |
undo |
protected int |
undo_position |
protected org.pentaho.di.core.variables.VariableSpace |
variables |
| 构造器和说明 |
|---|
AbstractMeta() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
activateParameters() |
void |
addContentChangedListener(ContentChangedListener listener)
Adds the passed ContentChangedListener to the list of listeners.
|
void |
addCurrentDirectoryChangedListener(CurrentDirectoryChangedListener listener)
Remove listener
|
void |
addDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
Add a database connection to the transformation.
|
protected void |
addDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta,
boolean replace) |
void |
addDatabase(int p,
org.pentaho.di.core.database.DatabaseMeta ci)
Add a database connection to the transformation on a certain location.
|
void |
addFilenameChangedListener(FilenameChangedListener listener)
Adds the filename changed listener.
|
void |
addNameChangedListener(NameChangedListener listener)
Adds the name changed listener.
|
void |
addNote(int p,
NotePadMeta ni)
Add a new note at a certain location (i.e. the specified index).
|
void |
addNote(NotePadMeta ni)
Add a new note.
|
void |
addObserver(PDIObserver o) |
void |
addOrReplaceDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
Add a database connection to the transformation if that connection didn't exists yet.
|
void |
addOrReplaceSlaveServer(SlaveServer slaveServer)
Add a new slave server to the transformation if that didn't exist yet.
|
void |
addParameterDefinition(String key,
String defValue,
String description) |
void |
addUndo(Object[] from,
Object[] to,
int[] pos,
org.pentaho.di.core.gui.Point[] prev,
org.pentaho.di.core.gui.Point[] curr,
int type_of_change,
boolean nextAlso)
Add an undo operation to the undo list
|
boolean |
canSave()
Checks whether the job can be saved.
|
void |
clear() |
void |
clearChanged()
Clears the changed flag of this.
|
void |
clearChangedDatabases()
Clears the flags for whether the transformation's databases have changed.
|
void |
clearNameChangedListeners()
Removes all the name changed listeners
|
void |
clearParameters() |
void |
clearUndo()
Clear undo.
|
protected int |
compare(AbstractMeta meta1,
AbstractMeta meta2) |
void |
copyParametersFrom(org.pentaho.di.core.parameters.NamedParams params) |
void |
copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space) |
void |
deleteObserver(PDIObserver o) |
void |
disposeEmbeddedMetastoreProvider() |
String |
environmentSubstitute(String aString) |
String[] |
environmentSubstitute(String[] aString) |
void |
eraseParameters() |
String |
fieldSubstitute(String aString,
org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] rowData) |
org.pentaho.di.core.database.DatabaseMeta |
findDatabase(String name)
Find a database connection by it's name
|
SlaveServer |
findSlaveServer(String serverString)
Find a slave server using the name
|
protected void |
fireContentChangedListeners()
Fire content changed listeners.
|
protected void |
fireContentChangedListeners(boolean ch) |
protected void |
fireCurrentDirectoryChanged(String previous,
String current)
Notify listeners of a change in current directory.
|
protected void |
fireFilenameChangedListeners(String oldFilename,
String newFilename)
Fire filename changed listeners.
|
protected void |
fireNameChangedListeners(String oldName,
String newName)
Fire name changed listeners.
|
protected List<org.pentaho.di.shared.SharedObjectInterface> |
getAllSharedObjects() |
String |
getAttribute(String groupName,
String key) |
Map<String,String> |
getAttributes(String groupName) |
Map<String,Map<String,String>> |
getAttributesMap() |
boolean |
getBooleanValueOfVariable(String variableName,
boolean defaultValue) |
ChannelLogTable |
getChannelLogTable()
Gets the channel log table for the job.
|
String |
getContainerObjectId()
Gets the container object id.
|
List<ContentChangedListener> |
getContentChangedListeners() |
Date |
getCreatedDate()
Gets the date the transformation was created.
|
String |
getCreatedUser()
Gets the user by whom the transformation was created.
|
org.pentaho.di.core.database.DatabaseMeta |
getDatabase(int i)
Retrieves a database connection information a a certain location.
|
String[] |
getDatabaseNames()
Gets the database names.
|
List<org.pentaho.di.core.database.DatabaseMeta> |
getDatabases()
Returns a list of the databases.
|
String |
getDescription()
Gets the description of the job.
|
EmbeddedMetaStore |
getEmbeddedMetaStore() |
String |
getEmbeddedMetastoreProviderKey() |
String |
getExtendedDescription()
Gets the extended description of the job.
|
String |
getFilename()
Gets the filename.
|
org.pentaho.di.core.logging.LogLevel |
getLogLevel() |
int |
getMaxUndo()
Get the maximum number of undo operations possible
|
org.pentaho.metastore.api.IMetaStore |
getMetaStore() |
org.pentaho.di.core.osgi.api.MetastoreLocatorOsgi |
getMetastoreLocatorOsgi() |
Date |
getModifiedDate()
Gets the date the transformation was modified.
|
String |
getModifiedUser()
Gets the user who last modified the transformation.
|
String |
getName()
Get the name of the transformation.
|
NamedClusterEmbedManager |
getNamedClusterEmbedManager() |
org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi |
getNamedClusterServiceOsgi() |
NotePadMeta |
getNote(int i)
Gets the note.
|
NotePadMeta |
getNote(int x,
int y)
Find the note that is located on a certain point on the canvas.
|
int[] |
getNoteIndexes(List<NotePadMeta> notes)
Get an array of the locations of an array of notes
|
List<NotePadMeta> |
getNotes()
Gets the notes.
|
String |
getObjectCopy() |
org.pentaho.di.repository.ObjectId |
getObjectId() |
String |
getObjectName() |
org.pentaho.di.repository.ObjectRevision |
getObjectRevision() |
String |
getParameterDefault(String key) |
String |
getParameterDescription(String key) |
String |
getParameterValue(String key) |
org.pentaho.di.core.logging.LoggingObjectInterface |
getParent()
Gets the interface to the parent log object.
|
org.pentaho.di.core.variables.VariableSpace |
getParentVariableSpace() |
Set<String> |
getPrivateDatabases()
Returns the set of databases available only for this meta or null if it was not initialized.
|
Date |
getRegistrationDate()
Gets the registration date for the transformation.
|
Repository |
getRepository()
Gets the repository.
|
org.pentaho.di.repository.RepositoryDirectoryInterface |
getRepositoryDirectory()
Gets the directory.
|
List<NotePadMeta> |
getSelectedNotes()
Gets a list of all selected notes.
|
SharedObjects |
getSharedObjects()
Gets the shared objects.
|
String |
getSharedObjectsFile()
Gets the shared objects file.
|
String[] |
getSlaveServerNames()
Gets an array of slave server names.
|
List<SlaveServer> |
getSlaveServers()
Gets a list of slave servers.
|
int |
getUndoSize()
Gets the undo size.
|
String |
getVariable(String variableName) |
String |
getVariable(String variableName,
String defaultValue) |
Boolean |
getVersioningEnabled()
Is versioning enabled.
|
boolean |
hasChanged() |
int |
hashCode() |
boolean |
hasMissingPlugins() |
boolean |
haveConnectionsChanged()
Checks whether or not the connections have changed.
|
boolean |
haveNotesChanged()
Checks whether or not any of the notes have been changed.
|
void |
importFromMetaStore() |
int |
indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta di)
Find the location of database
|
int |
indexOfNote(NotePadMeta ni)
Finds the location (index) of the specified note.
|
void |
initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent) |
void |
injectVariables(Map<String,String> prop) |
boolean |
isAlwaysShowRunOptions() |
boolean |
isClearingLog() |
boolean |
isSafeModeEnabled() |
boolean |
isShowDialog() |
String[] |
listParameters() |
String[] |
listVariables() |
protected boolean |
loadSharedObject(org.pentaho.di.shared.SharedObjectInterface object) |
void |
lowerNote(int p)
Lowers a note to the "bottom" of the list by removing the note at the specified index and re-inserting it at the
front.
|
void |
mergeParametersWith(org.pentaho.di.core.parameters.NamedParams params,
boolean replace) |
void |
nameFromFilename()
Builds a name - if no name is set, yet - from the filename
|
TransAction |
nextUndo()
Get the next undo transaction on the list.
|
void |
notifyObservers(Object arg) |
int |
nrDatabases()
Count the nr of databases in the transformation.
|
int |
nrNotes()
Gets the number of notes.
|
TransAction |
previousUndo()
Get the previous undo operation and change the undo pointer
|
void |
raiseNote(int p)
Raises a note to the "top" of the list by removing the note at the specified index and re-inserting it at the end.
|
SharedObjects |
readSharedObjects()
Read shared objects.
|
void |
removeContentChangedListener(ContentChangedListener listener)
Removes the passed ContentChangedListener from the list of listeners.
|
void |
removeCurrentDirectoryChangedListener(CurrentDirectoryChangedListener listener)
Add a listener to be notified of design-time changes to current directory variable
|
void |
removeDatabase(int i)
Removes a database from the transformation on a certain location.
|
void |
removeFilenameChangedListener(FilenameChangedListener listener)
Removes the filename changed listener.
|
void |
removeNameChangedListener(NameChangedListener listener)
Removes the name changed listener.
|
void |
removeNote(int i)
Removes a note at a certain location (i.e. the specified index).
|
void |
saveMetaStoreObjects(Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
已过时。
This method is empty since 2013.
|
void |
saveSharedObjects()
Saves shared objects, including databases, steps, partition schemas, slave servers, and cluster schemas, to a file.
|
void |
setAlwaysShowRunOptions(boolean alwaysShowRunOptions) |
void |
setAttribute(String groupName,
String key,
String value) |
void |
setAttributes(String groupName,
Map<String,String> attributes) |
void |
setAttributesMap(Map<String,Map<String,String>> attributesMap) |
void |
setCarteObjectId(String containerObjectId)
Sets the carte object id.
|
void |
setChanged() |
void |
setChanged(boolean ch) |
void |
setChannelLogTable(ChannelLogTable channelLogTable)
Sets the channel log table for the job.
|
void |
setClearingLog(boolean clearingLog) |
void |
setCreatedDate(Date createdDate)
Sets the date the transformation was created.
|
void |
setCreatedUser(String createdUser)
Sets the user by whom the transformation was created.
|
void |
setDatabases(List<org.pentaho.di.core.database.DatabaseMeta> databases)
Sets the databases.
|
void |
setDescription(String description)
Set the description of the job.
|
void |
setEmbeddedMetastoreProviderKey(String embeddedMetastoreProviderKey) |
void |
setExtendedDescription(String extendedDescription)
Set the description of the job.
|
void |
setFilename(String newFilename)
Set the filename of the job
|
protected abstract void |
setInternalFilenameKettleVariables(org.pentaho.di.core.variables.VariableSpace var)
Sets the internal filename kettle variables.
|
void |
setInternalKettleVariables()
Calls setInternalKettleVariables on the default object.
|
abstract void |
setInternalKettleVariables(org.pentaho.di.core.variables.VariableSpace var)
This method sets various internal kettle variables.
|
protected abstract void |
setInternalNameKettleVariable(org.pentaho.di.core.variables.VariableSpace var)
Sets the internal name kettle variable.
|
void |
setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel)
Sets the log level.
|
void |
setMaxUndo(int mu)
Sets the maximum number of undo operations that are allowed.
|
void |
setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore) |
void |
setMetastoreLocatorOsgi(org.pentaho.di.core.osgi.api.MetastoreLocatorOsgi metastoreLocatorOsgi) |
void |
setModifiedDate(Date modifiedDate)
Sets the date the transformation was modified.
|
void |
setModifiedUser(String modifiedUser)
Sets the user who last modified the transformation.
|
void |
setName(String newName)
Set the name.
|
void |
setNamedClusterServiceOsgi(org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi namedClusterServiceOsgi) |
void |
setObjectId(org.pentaho.di.repository.ObjectId objectId)
Set the database ID for this in the repository.
|
void |
setObjectRevision(org.pentaho.di.repository.ObjectRevision objectRevision) |
void |
setParameterValue(String key,
String value) |
void |
setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent) |
void |
setPrivateDatabases(Set<String> privateDatabases)
Sets private databases' names
|
void |
setRepository(Repository repository)
Sets the repository.
|
void |
setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface directory)
Sets the directory.
|
void |
setSafeModeEnabled(boolean safeModeEnabled) |
void |
setSharedObjects(SharedObjects sharedObjects)
Sets the shared objects.
|
void |
setSharedObjectsFile(String sharedObjectsFile)
Sets the shared objects file.
|
void |
setShowDialog(boolean showDialog) |
void |
setSlaveServers(List<SlaveServer> slaveServers)
Sets the slave servers.
|
void |
setVariable(String variableName,
String variableValue) |
void |
setVersioningEnabled(Boolean versioningEnabled)
Set versioning enabled
|
void |
shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space) |
protected boolean |
shouldOverwrite(org.pentaho.di.core.gui.OverwritePrompter prompter,
org.pentaho.di.core.Props props,
String message,
String rememberMessage) |
TransAction |
viewNextUndo()
Get the next undo transaction on the list.
|
TransAction |
viewPreviousUndo()
View previous undo, don't change undo position
|
TransAction |
viewThisUndo()
View current undo, don't change undo position
|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDefaultExtension, getFileType, getFilterExtensions, getFilterNames, getXMLpublic static final int TYPE_UNDO_CHANGE
public static final int TYPE_UNDO_NEW
public static final int TYPE_UNDO_DELETE
public static final int TYPE_UNDO_POSITION
protected org.pentaho.di.repository.ObjectId objectId
protected org.pentaho.di.repository.ObjectRevision objectRevision
protected String containerObjectId
protected String name
protected String description
protected String extendedDescription
protected String filename
protected org.pentaho.di.repository.RepositoryDirectoryInterface directory
protected Repository repository
protected List<org.pentaho.di.core.database.DatabaseMeta> databases
protected Set<NameChangedListener> nameChangedListeners
protected Set<FilenameChangedListener> filenameChangedListeners
protected Set<ContentChangedListener> contentChangedListeners
protected Set<CurrentDirectoryChangedListener> currentDirectoryChangedListeners
protected List<SlaveServer> slaveServers
protected List<NotePadMeta> notes
protected ChannelLogTable channelLogTable
protected boolean changedNotes
protected boolean changedDatabases
protected List<TransAction> undo
protected EmbeddedMetaStore embeddedMetaStore
protected org.pentaho.di.core.variables.VariableSpace variables
protected org.pentaho.di.core.parameters.NamedParams namedParams
protected org.pentaho.di.core.logging.LogLevel logLevel
protected org.pentaho.metastore.api.IMetaStore metaStore
protected String createdUser
protected String modifiedUser
protected Date createdDate
protected Date modifiedDate
protected org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi namedClusterServiceOsgi
protected org.pentaho.di.core.osgi.api.MetastoreLocatorOsgi metastoreLocatorOsgi
protected NamedClusterEmbedManager namedClusterEmbedManager
protected String embeddedMetastoreProviderKey
protected String sharedObjectsFile
protected SharedObjects sharedObjects
protected final ChangedFlag changedFlag
protected int max_undo
protected int undo_position
protected org.pentaho.di.base.AbstractMeta.RunOptions runOptions
public boolean isShowDialog()
public void setShowDialog(boolean showDialog)
public boolean isAlwaysShowRunOptions()
public void setAlwaysShowRunOptions(boolean alwaysShowRunOptions)
public org.pentaho.di.repository.ObjectId getObjectId()
getObjectId 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacegetObjectId 在接口中 org.pentaho.di.repository.RepositoryElementInterfacegetObjectId 在接口中 org.pentaho.di.repository.RepositoryObjectInterfacepublic void setObjectId(org.pentaho.di.repository.ObjectId objectId)
EngineMetaInterfacesetObjectId 在接口中 EngineMetaInterfacesetObjectId 在接口中 org.pentaho.di.repository.RepositoryElementInterfaceobjectId - the database ID for this in the repositorypublic String getContainerObjectId()
getContainerObjectId 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic void setCarteObjectId(String containerObjectId)
containerObjectId - the execution container Object id to setpublic String getName()
getName 在接口中 EngineMetaInterfacegetName 在接口中 org.pentaho.di.repository.RepositoryElementInterfacegetName 在接口中 org.pentaho.di.repository.RepositoryObjectInterfacepublic void setName(String newName)
setName 在接口中 org.pentaho.di.repository.RepositoryElementInterfacenewName - The new namepublic String getDescription()
getDescription 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic void setDescription(String description)
setDescription 在接口中 org.pentaho.di.repository.RepositoryElementInterfacedescription - The new description of the jobpublic String getExtendedDescription()
public void setExtendedDescription(String extendedDescription)
extendedDescription - The new extended description of the jobpublic void nameFromFilename()
nameFromFilename 在接口中 EngineMetaInterfacepublic String getFilename()
getFilename 在接口中 EngineMetaInterfacegetFilename 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceEngineMetaInterface.getFilename()public void setFilename(String newFilename)
setFilename 在接口中 EngineMetaInterfacenewFilename - The new filename of the jobpublic org.pentaho.di.repository.RepositoryDirectoryInterface getRepositoryDirectory()
getRepositoryDirectory 在接口中 EngineMetaInterfacegetRepositoryDirectory 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacegetRepositoryDirectory 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic void setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface directory)
setRepositoryDirectory 在接口中 org.pentaho.di.repository.RepositoryElementInterfacedirectory - The directory to set.public Repository getRepository()
getRepository 在接口中 HasRepositoryInterfacepublic void setRepository(Repository repository)
setRepository 在接口中 HasRepositoryInterfacerepository - the repository to setpublic void setInternalKettleVariables()
public abstract void setInternalKettleVariables(org.pentaho.di.core.variables.VariableSpace var)
protected abstract void setInternalFilenameKettleVariables(org.pentaho.di.core.variables.VariableSpace var)
var - the new internal filename kettle variablespublic org.pentaho.di.core.database.DatabaseMeta findDatabase(String name)
findDatabase 在接口中 HasDatabasesInterfacename - The database name to look forpublic int nrDatabases()
HasDatabasesInterfacenrDatabases 在接口中 HasDatabasesInterfacepublic org.pentaho.di.core.database.DatabaseMeta getDatabase(int i)
HasDatabasesInterfacegetDatabase 在接口中 HasDatabasesInterfacei - The database number.public void importFromMetaStore()
throws org.pentaho.metastore.api.exceptions.MetaStoreException,
org.pentaho.di.core.exception.KettlePluginException
org.pentaho.metastore.api.exceptions.MetaStoreExceptionorg.pentaho.di.core.exception.KettlePluginExceptionpublic void addNameChangedListener(NameChangedListener listener)
listener - the listenerpublic void removeNameChangedListener(NameChangedListener listener)
listener - the listenerpublic void clearNameChangedListeners()
protected void fireNameChangedListeners(String oldName, String newName)
oldName - the old namenewName - the new namepublic void addFilenameChangedListener(FilenameChangedListener listener)
listener - the listenerpublic void removeFilenameChangedListener(FilenameChangedListener listener)
listener - the listenerprotected void fireFilenameChangedListeners(String oldFilename, String newFilename)
oldFilename - the old filenamenewFilename - the new filenamepublic void addContentChangedListener(ContentChangedListener listener)
listener - public void removeContentChangedListener(ContentChangedListener listener)
listener - public List<ContentChangedListener> getContentChangedListeners()
protected void fireContentChangedListeners()
protected void fireContentChangedListeners(boolean ch)
public void addCurrentDirectoryChangedListener(CurrentDirectoryChangedListener listener)
public void removeCurrentDirectoryChangedListener(CurrentDirectoryChangedListener listener)
protected void fireCurrentDirectoryChanged(String previous, String current)
public void addOrReplaceSlaveServer(SlaveServer slaveServer)
slaveServer - The slave server to be added.public List<SlaveServer> getSlaveServers()
getSlaveServers 在接口中 HasSlaveServersInterfacepublic void setSlaveServers(List<SlaveServer> slaveServers)
slaveServers - the slaveServers to setpublic SlaveServer findSlaveServer(String serverString)
serverString - the name of the slave serverpublic String[] getSlaveServerNames()
public void addUndo(Object[] from, Object[] to, int[] pos, org.pentaho.di.core.gui.Point[] prev, org.pentaho.di.core.gui.Point[] curr, int type_of_change, boolean nextAlso)
UndoInterfaceaddUndo 在接口中 UndoInterfacefrom - array of objects representing the old stateto - array of objectes representing the new statepos - An array of object locationsprev - An array of points representing the old positionscurr - An array of points representing the new positionstype_of_change - The type of change that's being done to the transformation.nextAlso - indicates that the next undo operation needs to follow this one.public void clearUndo()
public TransAction nextUndo()
UndoInterfacenextUndo 在接口中 UndoInterfacepublic TransAction viewNextUndo()
UndoInterfaceviewNextUndo 在接口中 UndoInterfacepublic TransAction previousUndo()
UndoInterfacepreviousUndo 在接口中 UndoInterfacepublic TransAction viewThisUndo()
viewThisUndo 在接口中 UndoInterfacepublic TransAction viewPreviousUndo()
UndoInterfaceviewPreviousUndo 在接口中 UndoInterfacepublic int getMaxUndo()
UndoInterfacegetMaxUndo 在接口中 UndoInterfacepublic void setMaxUndo(int mu)
UndoInterfacesetMaxUndo 在接口中 UndoInterfacemu - The maximum number of undo operations that are allowed.public int getUndoSize()
public EmbeddedMetaStore getEmbeddedMetaStore()
public void setAttributesMap(Map<String,Map<String,String>> attributesMap)
setAttributesMap 在接口中 org.pentaho.di.core.AttributesInterfacepublic Map<String,Map<String,String>> getAttributesMap()
getAttributesMap 在接口中 org.pentaho.di.core.AttributesInterfacepublic void setAttribute(String groupName, String key, String value)
setAttribute 在接口中 org.pentaho.di.core.AttributesInterfacepublic void setAttributes(String groupName, Map<String,String> attributes)
setAttributes 在接口中 org.pentaho.di.core.AttributesInterfacepublic Map<String,String> getAttributes(String groupName)
getAttributes 在接口中 org.pentaho.di.core.AttributesInterfacepublic String getAttribute(String groupName, String key)
getAttribute 在接口中 org.pentaho.di.core.AttributesInterfacepublic void addNote(int p,
NotePadMeta ni)
p - The index into the notes listni - The note to be added.public void addNote(NotePadMeta ni)
ni - The note to be added.public NotePadMeta getNote(int x, int y)
x - the x-coordinate of the point queriedy - the y-coordinate of the point queriedpublic NotePadMeta getNote(int i)
i - the ipublic List<NotePadMeta> getNotes()
public List<NotePadMeta> getSelectedNotes()
public int indexOfNote(NotePadMeta ni)
ni - The note queriedpublic void lowerNote(int p)
p - the index into the notes list.public int nrNotes()
public void raiseNote(int p)
p - the index into the notes list.public void removeNote(int i)
i - The index into the notes listpublic boolean haveNotesChanged()
public int[] getNoteIndexes(List<NotePadMeta> notes)
notes - An array of notespublic ChannelLogTable getChannelLogTable()
public void addOrReplaceDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
HasDatabasesInterfaceaddOrReplaceDatabase 在接口中 HasDatabasesInterfacedatabaseMeta - The database connection information.protected void addDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta,
boolean replace)
public void addDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
HasDatabasesInterfaceaddDatabase 在接口中 HasDatabasesInterfaceci - The database connection information.public void addDatabase(int p,
org.pentaho.di.core.database.DatabaseMeta ci)
HasDatabasesInterfaceaddDatabase 在接口中 HasDatabasesInterfacep - The locationci - The database connection information.public List<org.pentaho.di.core.database.DatabaseMeta> getDatabases()
getDatabases 在接口中 HasDatabasesInterfacepublic String[] getDatabaseNames()
public int indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta di)
HasDatabasesInterfaceindexOfDatabase 在接口中 HasDatabasesInterfacedi - The database queriedpublic void setDatabases(List<org.pentaho.di.core.database.DatabaseMeta> databases)
setDatabases 在接口中 HasDatabasesInterfacedatabases - The databases to set.public boolean haveConnectionsChanged()
HasDatabasesInterfacehaveConnectionsChanged 在接口中 HasDatabasesInterfacepublic void removeDatabase(int i)
HasDatabasesInterfaceremoveDatabase 在接口中 HasDatabasesInterfacei - The locationpublic void clearChangedDatabases()
public void setChannelLogTable(ChannelLogTable channelLogTable)
channelLogTable - the channelLogTable to setpublic void copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space)
copyVariablesFrom 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String environmentSubstitute(String aString)
environmentSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String[] environmentSubstitute(String[] aString)
environmentSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String fieldSubstitute(String aString, org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] rowData) throws org.pentaho.di.core.exception.KettleValueException
fieldSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpaceorg.pentaho.di.core.exception.KettleValueExceptionpublic org.pentaho.di.core.variables.VariableSpace getParentVariableSpace()
getParentVariableSpace 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
setParentVariableSpace 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String getVariable(String variableName, String defaultValue)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String getVariable(String variableName)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic boolean getBooleanValueOfVariable(String variableName, boolean defaultValue)
getBooleanValueOfVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
initializeVariablesFrom 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String[] listVariables()
listVariables 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void setVariable(String variableName, String variableValue)
setVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
shareVariablesWith 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void injectVariables(Map<String,String> prop)
injectVariables 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void addParameterDefinition(String key, String defValue, String description) throws org.pentaho.di.core.parameters.DuplicateParamException
addParameterDefinition 在接口中 org.pentaho.di.core.parameters.NamedParamsorg.pentaho.di.core.parameters.DuplicateParamExceptionpublic String getParameterDescription(String key) throws org.pentaho.di.core.parameters.UnknownParamException
getParameterDescription 在接口中 org.pentaho.di.core.parameters.NamedParamsorg.pentaho.di.core.parameters.UnknownParamExceptionpublic String getParameterDefault(String key) throws org.pentaho.di.core.parameters.UnknownParamException
getParameterDefault 在接口中 org.pentaho.di.core.parameters.NamedParamsorg.pentaho.di.core.parameters.UnknownParamExceptionpublic String getParameterValue(String key) throws org.pentaho.di.core.parameters.UnknownParamException
getParameterValue 在接口中 org.pentaho.di.core.parameters.NamedParamsorg.pentaho.di.core.parameters.UnknownParamExceptionpublic String[] listParameters()
listParameters 在接口中 org.pentaho.di.core.parameters.NamedParamspublic void setParameterValue(String key, String value) throws org.pentaho.di.core.parameters.UnknownParamException
setParameterValue 在接口中 org.pentaho.di.core.parameters.NamedParamsorg.pentaho.di.core.parameters.UnknownParamExceptionpublic void eraseParameters()
eraseParameters 在接口中 org.pentaho.di.core.parameters.NamedParamspublic void clearParameters()
clearParameters 在接口中 org.pentaho.di.core.parameters.NamedParamspublic void copyParametersFrom(org.pentaho.di.core.parameters.NamedParams params)
copyParametersFrom 在接口中 org.pentaho.di.core.parameters.NamedParamspublic void mergeParametersWith(org.pentaho.di.core.parameters.NamedParams params,
boolean replace)
mergeParametersWith 在接口中 org.pentaho.di.core.parameters.NamedParamspublic void activateParameters()
activateParameters 在接口中 org.pentaho.di.core.parameters.NamedParamspublic org.pentaho.di.core.logging.LogLevel getLogLevel()
getLogLevel 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic void setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel)
logLevel - the new log levelpublic org.pentaho.metastore.api.IMetaStore getMetaStore()
public void setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore)
public String getSharedObjectsFile()
public void setSharedObjectsFile(String sharedObjectsFile)
sharedObjectsFile - the sharedObjectsFile to setpublic SharedObjects getSharedObjects()
public void setSharedObjects(SharedObjects sharedObjects)
sharedObjects - the sharedObjects to setpublic SharedObjects readSharedObjects() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException - the kettle exceptionprotected boolean loadSharedObject(org.pentaho.di.shared.SharedObjectInterface object)
protected abstract void setInternalNameKettleVariable(org.pentaho.di.core.variables.VariableSpace var)
var - the new internal name kettle variablepublic Date getCreatedDate()
getCreatedDate 在接口中 EngineMetaInterfacepublic void setCreatedDate(Date createdDate)
setCreatedDate 在接口中 EngineMetaInterfacecreatedDate - The creation date to set.public void setCreatedUser(String createdUser)
setCreatedUser 在接口中 EngineMetaInterfacecreatedUser - The user to set.public String getCreatedUser()
getCreatedUser 在接口中 EngineMetaInterfacepublic void setModifiedDate(Date modifiedDate)
setModifiedDate 在接口中 EngineMetaInterfacemodifiedDate - The modified date to set.public Date getModifiedDate()
getModifiedDate 在接口中 EngineMetaInterfacepublic void setModifiedUser(String modifiedUser)
setModifiedUser 在接口中 EngineMetaInterfacemodifiedUser - The user name to set.public String getModifiedUser()
getModifiedUser 在接口中 EngineMetaInterfacepublic void clear()
public void clearChanged()
EngineMetaInterfaceclearChanged 在接口中 ChangedFlagInterfaceclearChanged 在接口中 EngineMetaInterfacepublic void setChanged()
setChanged 在接口中 ChangedFlagInterfacepublic final void setChanged(boolean ch)
setChanged 在接口中 ChangedFlagInterfacepublic void addObserver(PDIObserver o)
public void deleteObserver(PDIObserver o)
public void notifyObservers(Object arg)
public boolean canSave()
canSave 在接口中 EngineMetaInterfaceEngineMetaInterface.canSave()public boolean hasChanged()
hasChanged 在接口中 ChangedFlagInterfacepublic Date getRegistrationDate()
getRegistrationDate 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic org.pentaho.di.core.logging.LoggingObjectInterface getParent()
getParent 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfaceLoggingObjectInterface.getParent()public String getObjectName()
getObjectName 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic String getObjectCopy()
getObjectCopy 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacepublic org.pentaho.di.repository.ObjectRevision getObjectRevision()
getObjectRevision 在接口中 org.pentaho.di.core.logging.LoggingObjectInterfacegetObjectRevision 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic void setObjectRevision(org.pentaho.di.repository.ObjectRevision objectRevision)
setObjectRevision 在接口中 org.pentaho.di.repository.RepositoryElementInterfaceprotected boolean shouldOverwrite(org.pentaho.di.core.gui.OverwritePrompter prompter,
org.pentaho.di.core.Props props,
String message,
String rememberMessage)
public boolean hasMissingPlugins()
public Set<String> getPrivateDatabases()
public void setPrivateDatabases(Set<String> privateDatabases)
privateDatabases - - The list of databases available only for this metapublic void saveSharedObjects()
throws org.pentaho.di.core.exception.KettleException
EngineMetaInterfacesaveSharedObjects 在接口中 EngineMetaInterfaceorg.pentaho.di.core.exception.KettleExceptionprotected List<org.pentaho.di.shared.SharedObjectInterface> getAllSharedObjects()
@Deprecated public void saveMetaStoreObjects(Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.metastore.api.exceptions.MetaStoreException
metaStore - The store to save toorg.pentaho.metastore.api.exceptions.MetaStoreException - in case there is an error.protected int compare(AbstractMeta meta1, AbstractMeta meta2)
public org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi getNamedClusterServiceOsgi()
public void setNamedClusterServiceOsgi(org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi namedClusterServiceOsgi)
public org.pentaho.di.core.osgi.api.MetastoreLocatorOsgi getMetastoreLocatorOsgi()
public void setMetastoreLocatorOsgi(org.pentaho.di.core.osgi.api.MetastoreLocatorOsgi metastoreLocatorOsgi)
public NamedClusterEmbedManager getNamedClusterEmbedManager()
public void disposeEmbeddedMetastoreProvider()
public String getEmbeddedMetastoreProviderKey()
public void setEmbeddedMetastoreProviderKey(String embeddedMetastoreProviderKey)
public void setVersioningEnabled(Boolean versioningEnabled)
EngineMetaInterfacesetVersioningEnabled 在接口中 EngineMetaInterfaceversioningEnabled - is versioning enabledpublic Boolean getVersioningEnabled()
EngineMetaInterfacegetVersioningEnabled 在接口中 EngineMetaInterfacepublic boolean isClearingLog()
public void setClearingLog(boolean clearingLog)
public boolean isSafeModeEnabled()
public void setSafeModeEnabled(boolean safeModeEnabled)
Copyright © 2024 Hitachi Vantara. All rights reserved.