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
Modifier and Type | Field and Description |
---|---|
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
|
Constructor and Description |
---|
AbstractMeta() |
Modifier and Type | Method and Description |
---|---|
void |
activateParameters() |
void |
addContentChangedListener(ContentChangedListener listener)
Adds the passed ContentChangedListener to the list of listeners.
|
void |
addDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
Add a database connection to the transformation.
|
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.
|
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 |
clearParameters() |
void |
clearUndo()
Clear undo.
|
void |
copyParametersFrom(org.pentaho.di.core.parameters.NamedParams params) |
void |
copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space) |
void |
deleteObserver(PDIObserver o) |
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
|
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 |
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() |
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.
|
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 |
hasChanged() |
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 |
isShowDialog() |
String[] |
listParameters() |
String[] |
listVariables() |
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 |
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.
|
void |
removeContentChangedListener(ContentChangedListener listener)
Removes the passed ContentChangedListener from the list of listeners.
|
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.
|
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 |
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 |
setExtendedDescription(String extendedDescription)
Set the description of the job.
|
void |
setFilename(String newFilename)
Set the filename of the job
|
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.
|
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 |
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 |
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 |
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 |
shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space) |
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
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultExtension, getFileType, getFilterExtensions, getFilterNames, getXML, saveSharedObjects
public 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
public boolean isShowDialog()
public void setShowDialog(boolean showDialog)
public boolean isAlwaysShowRunOptions()
public void setAlwaysShowRunOptions(boolean alwaysShowRunOptions)
public org.pentaho.di.repository.ObjectId getObjectId()
getObjectId
in interface org.pentaho.di.core.logging.LoggingObjectInterface
getObjectId
in interface org.pentaho.di.repository.RepositoryElementInterface
getObjectId
in interface org.pentaho.di.repository.RepositoryObjectInterface
public void setObjectId(org.pentaho.di.repository.ObjectId objectId)
EngineMetaInterface
setObjectId
in interface EngineMetaInterface
setObjectId
in interface org.pentaho.di.repository.RepositoryElementInterface
objectId
- the database ID for this in the repositorypublic String getContainerObjectId()
getContainerObjectId
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public void setCarteObjectId(String containerObjectId)
containerObjectId
- the execution container Object id to setpublic String getName()
getName
in interface EngineMetaInterface
getName
in interface org.pentaho.di.repository.RepositoryElementInterface
getName
in interface org.pentaho.di.repository.RepositoryObjectInterface
public void setName(String newName)
setName
in interface org.pentaho.di.repository.RepositoryElementInterface
newName
- The new namepublic String getDescription()
getDescription
in interface org.pentaho.di.repository.RepositoryElementInterface
public void setDescription(String description)
setDescription
in interface org.pentaho.di.repository.RepositoryElementInterface
description
- The new description of the jobpublic String getExtendedDescription()
public void setExtendedDescription(String extendedDescription)
extendedDescription
- The new extended description of the jobpublic void nameFromFilename()
nameFromFilename
in interface EngineMetaInterface
public String getFilename()
getFilename
in interface EngineMetaInterface
getFilename
in interface org.pentaho.di.core.logging.LoggingObjectInterface
EngineMetaInterface.getFilename()
public void setFilename(String newFilename)
setFilename
in interface EngineMetaInterface
newFilename
- The new filename of the jobpublic org.pentaho.di.repository.RepositoryDirectoryInterface getRepositoryDirectory()
getRepositoryDirectory
in interface EngineMetaInterface
getRepositoryDirectory
in interface org.pentaho.di.core.logging.LoggingObjectInterface
getRepositoryDirectory
in interface org.pentaho.di.repository.RepositoryElementInterface
public void setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface directory)
setRepositoryDirectory
in interface org.pentaho.di.repository.RepositoryElementInterface
directory
- The directory to set.public Repository getRepository()
getRepository
in interface HasRepositoryInterface
public void setRepository(Repository repository)
setRepository
in interface HasRepositoryInterface
repository
- the repository to setpublic void setInternalKettleVariables()
setInternalKettleVariables
in interface EngineMetaInterface
public abstract void setInternalKettleVariables(org.pentaho.di.core.variables.VariableSpace var)
public org.pentaho.di.core.database.DatabaseMeta findDatabase(String name)
findDatabase
in interface HasDatabasesInterface
name
- The database name to look forpublic int nrDatabases()
HasDatabasesInterface
nrDatabases
in interface HasDatabasesInterface
public org.pentaho.di.core.database.DatabaseMeta getDatabase(int i)
HasDatabasesInterface
getDatabase
in interface HasDatabasesInterface
i
- The database number.public void importFromMetaStore() throws org.pentaho.metastore.api.exceptions.MetaStoreException, org.pentaho.di.core.exception.KettlePluginException
org.pentaho.metastore.api.exceptions.MetaStoreException
org.pentaho.di.core.exception.KettlePluginException
public void addNameChangedListener(NameChangedListener listener)
listener
- the listenerpublic void removeNameChangedListener(NameChangedListener listener)
listener
- the listenerpublic void addFilenameChangedListener(FilenameChangedListener listener)
listener
- the listenerpublic void removeFilenameChangedListener(FilenameChangedListener listener)
listener
- the listenerpublic void addContentChangedListener(ContentChangedListener listener)
listener
- public void removeContentChangedListener(ContentChangedListener listener)
listener
- public List<ContentChangedListener> getContentChangedListeners()
public void addOrReplaceSlaveServer(SlaveServer slaveServer)
slaveServer
- The slave server to be added.public List<SlaveServer> getSlaveServers()
getSlaveServers
in interface HasSlaveServersInterface
public 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)
UndoInterface
addUndo
in interface UndoInterface
from
- 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()
UndoInterface
nextUndo
in interface UndoInterface
public TransAction viewNextUndo()
UndoInterface
viewNextUndo
in interface UndoInterface
public TransAction previousUndo()
UndoInterface
previousUndo
in interface UndoInterface
public TransAction viewThisUndo()
viewThisUndo
in interface UndoInterface
public TransAction viewPreviousUndo()
UndoInterface
viewPreviousUndo
in interface UndoInterface
public int getMaxUndo()
UndoInterface
getMaxUndo
in interface UndoInterface
public void setMaxUndo(int mu)
UndoInterface
setMaxUndo
in interface UndoInterface
mu
- 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
in interface org.pentaho.di.core.AttributesInterface
public Map<String,Map<String,String>> getAttributesMap()
getAttributesMap
in interface org.pentaho.di.core.AttributesInterface
public void setAttribute(String groupName, String key, String value)
setAttribute
in interface org.pentaho.di.core.AttributesInterface
public void setAttributes(String groupName, Map<String,String> attributes)
setAttributes
in interface org.pentaho.di.core.AttributesInterface
public Map<String,String> getAttributes(String groupName)
getAttributes
in interface org.pentaho.di.core.AttributesInterface
public String getAttribute(String groupName, String key)
getAttribute
in interface org.pentaho.di.core.AttributesInterface
public 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)
HasDatabasesInterface
addOrReplaceDatabase
in interface HasDatabasesInterface
databaseMeta
- The database connection information.public void addDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
HasDatabasesInterface
addDatabase
in interface HasDatabasesInterface
ci
- The database connection information.public void addDatabase(int p, org.pentaho.di.core.database.DatabaseMeta ci)
HasDatabasesInterface
addDatabase
in interface HasDatabasesInterface
p
- The locationci
- The database connection information.public List<org.pentaho.di.core.database.DatabaseMeta> getDatabases()
getDatabases
in interface HasDatabasesInterface
public String[] getDatabaseNames()
public int indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta di)
HasDatabasesInterface
indexOfDatabase
in interface HasDatabasesInterface
di
- The database queriedpublic void setDatabases(List<org.pentaho.di.core.database.DatabaseMeta> databases)
setDatabases
in interface HasDatabasesInterface
databases
- The databases to set.public boolean haveConnectionsChanged()
HasDatabasesInterface
haveConnectionsChanged
in interface HasDatabasesInterface
public void removeDatabase(int i)
HasDatabasesInterface
removeDatabase
in interface HasDatabasesInterface
i
- The locationpublic void clearChangedDatabases()
public void setChannelLogTable(ChannelLogTable channelLogTable)
channelLogTable
- the channelLogTable to setpublic void copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space)
copyVariablesFrom
in interface org.pentaho.di.core.variables.VariableSpace
public String environmentSubstitute(String aString)
environmentSubstitute
in interface org.pentaho.di.core.variables.VariableSpace
public String[] environmentSubstitute(String[] aString)
environmentSubstitute
in interface org.pentaho.di.core.variables.VariableSpace
public String fieldSubstitute(String aString, org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] rowData) throws org.pentaho.di.core.exception.KettleValueException
fieldSubstitute
in interface org.pentaho.di.core.variables.VariableSpace
org.pentaho.di.core.exception.KettleValueException
public org.pentaho.di.core.variables.VariableSpace getParentVariableSpace()
getParentVariableSpace
in interface org.pentaho.di.core.variables.VariableSpace
public void setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
setParentVariableSpace
in interface org.pentaho.di.core.variables.VariableSpace
public String getVariable(String variableName, String defaultValue)
getVariable
in interface org.pentaho.di.core.variables.VariableSpace
public String getVariable(String variableName)
getVariable
in interface org.pentaho.di.core.variables.VariableSpace
public boolean getBooleanValueOfVariable(String variableName, boolean defaultValue)
getBooleanValueOfVariable
in interface org.pentaho.di.core.variables.VariableSpace
public void initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
initializeVariablesFrom
in interface org.pentaho.di.core.variables.VariableSpace
public String[] listVariables()
listVariables
in interface org.pentaho.di.core.variables.VariableSpace
public void setVariable(String variableName, String variableValue)
setVariable
in interface org.pentaho.di.core.variables.VariableSpace
public void shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
shareVariablesWith
in interface org.pentaho.di.core.variables.VariableSpace
public void injectVariables(Map<String,String> prop)
injectVariables
in interface org.pentaho.di.core.variables.VariableSpace
public void addParameterDefinition(String key, String defValue, String description) throws org.pentaho.di.core.parameters.DuplicateParamException
addParameterDefinition
in interface org.pentaho.di.core.parameters.NamedParams
org.pentaho.di.core.parameters.DuplicateParamException
public String getParameterDescription(String key) throws org.pentaho.di.core.parameters.UnknownParamException
getParameterDescription
in interface org.pentaho.di.core.parameters.NamedParams
org.pentaho.di.core.parameters.UnknownParamException
public String getParameterDefault(String key) throws org.pentaho.di.core.parameters.UnknownParamException
getParameterDefault
in interface org.pentaho.di.core.parameters.NamedParams
org.pentaho.di.core.parameters.UnknownParamException
public String getParameterValue(String key) throws org.pentaho.di.core.parameters.UnknownParamException
getParameterValue
in interface org.pentaho.di.core.parameters.NamedParams
org.pentaho.di.core.parameters.UnknownParamException
public String[] listParameters()
listParameters
in interface org.pentaho.di.core.parameters.NamedParams
public void setParameterValue(String key, String value) throws org.pentaho.di.core.parameters.UnknownParamException
setParameterValue
in interface org.pentaho.di.core.parameters.NamedParams
org.pentaho.di.core.parameters.UnknownParamException
public void eraseParameters()
eraseParameters
in interface org.pentaho.di.core.parameters.NamedParams
public void clearParameters()
clearParameters
in interface org.pentaho.di.core.parameters.NamedParams
public void copyParametersFrom(org.pentaho.di.core.parameters.NamedParams params)
copyParametersFrom
in interface org.pentaho.di.core.parameters.NamedParams
public void activateParameters()
activateParameters
in interface org.pentaho.di.core.parameters.NamedParams
public org.pentaho.di.core.logging.LogLevel getLogLevel()
getLogLevel
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public 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 Date getCreatedDate()
getCreatedDate
in interface EngineMetaInterface
public void setCreatedDate(Date createdDate)
setCreatedDate
in interface EngineMetaInterface
createdDate
- The creation date to set.public void setCreatedUser(String createdUser)
setCreatedUser
in interface EngineMetaInterface
createdUser
- The user to set.public String getCreatedUser()
getCreatedUser
in interface EngineMetaInterface
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface EngineMetaInterface
modifiedDate
- The modified date to set.public Date getModifiedDate()
getModifiedDate
in interface EngineMetaInterface
public void setModifiedUser(String modifiedUser)
setModifiedUser
in interface EngineMetaInterface
modifiedUser
- The user name to set.public String getModifiedUser()
getModifiedUser
in interface EngineMetaInterface
public void clear()
public void clearChanged()
EngineMetaInterface
clearChanged
in interface ChangedFlagInterface
clearChanged
in interface EngineMetaInterface
public void setChanged()
setChanged
in interface ChangedFlagInterface
public final void setChanged(boolean ch)
setChanged
in interface ChangedFlagInterface
public void addObserver(PDIObserver o)
public void deleteObserver(PDIObserver o)
public void notifyObservers(Object arg)
public boolean canSave()
canSave
in interface EngineMetaInterface
EngineMetaInterface.canSave()
public boolean hasChanged()
hasChanged
in interface ChangedFlagInterface
public Date getRegistrationDate()
getRegistrationDate
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public org.pentaho.di.core.logging.LoggingObjectInterface getParent()
getParent
in interface org.pentaho.di.core.logging.LoggingObjectInterface
LoggingObjectInterface.getParent()
public String getObjectName()
getObjectName
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public String getObjectCopy()
getObjectCopy
in interface org.pentaho.di.core.logging.LoggingObjectInterface
public org.pentaho.di.repository.ObjectRevision getObjectRevision()
getObjectRevision
in interface org.pentaho.di.core.logging.LoggingObjectInterface
getObjectRevision
in interface org.pentaho.di.repository.RepositoryElementInterface
public void setObjectRevision(org.pentaho.di.repository.ObjectRevision objectRevision)
setObjectRevision
in interface org.pentaho.di.repository.RepositoryElementInterface
public boolean hasMissingPlugins()
public Set<String> getPrivateDatabases()