Package org.pentaho.di.core
Interface EngineMetaInterface
- All Superinterfaces:
org.pentaho.di.repository.RepositoryElementInterface
,org.pentaho.di.repository.RepositoryObjectInterface
- All Known Implementing Classes:
AbstractMeta
,JobMeta
,TransMeta
public interface EngineMetaInterface
extends org.pentaho.di.repository.RepositoryElementInterface
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canSave()
Returns whether or not the this can be saved.void
Clears the changed flag of this.Gets the date the transformation was created.Gets the user by whom this was created.Gets the default extension.Get the filename (if any).Gets the file type.String[]
Gets the filter extensions.String[]
Gets the filter names.Gets the date this was modified.Gets the user who last modified this.getName()
Gets the name.org.pentaho.di.repository.RepositoryDirectoryInterface
Gets the repository element type.default Boolean
Is versioning enabled.getXML()
Gets the XML representation.void
Builds a name for this.void
Saves shared objects, including databases, steps, partition schemas, slave servers, and cluster schemas, to a file.void
setCreatedDate
(Date date) Sets the date the transformation was created.void
setCreatedUser
(String createduser) Sets the user by whom this was created.void
setFilename
(String filename) Sets the filename.void
Sets the internal kettle variables.void
setModifiedDate
(Date date) Sets the date this was modified.void
setModifiedUser
(String user) Sets the user who last modified this.void
setObjectId
(org.pentaho.di.repository.ObjectId id) Set the database ID for this in the repository.default void
setVersioningEnabled
(Boolean versioningEnabled) Set versioning enabledMethods inherited from interface org.pentaho.di.repository.RepositoryElementInterface
getDescription, getObjectId, getObjectRevision, getRepositoryElementType, setDescription, setName, setObjectRevision, setRepositoryDirectory
-
Method Details
-
setFilename
Sets the filename.- Parameters:
filename
-
-
getName
String getName()Gets the name.- Specified by:
getName
in interfaceorg.pentaho.di.repository.RepositoryElementInterface
- Specified by:
getName
in interfaceorg.pentaho.di.repository.RepositoryObjectInterface
- Returns:
- name
-
nameFromFilename
void nameFromFilename()Builds a name for this. If no name is yet set, create the name from the filename. -
clearChanged
void clearChanged()Clears the changed flag of this. -
getXML
Gets the XML representation.- Returns:
- the XML representation of this transformation
- Throws:
org.pentaho.di.core.exception.KettleException
- if any errors occur during generation of the XML- See Also:
-
XMLInterface.getXML()
-
getFileType
String getFileType()Gets the file type.- Returns:
- the file type
-
getFilterNames
String[] getFilterNames()Gets the filter names. -
getFilterExtensions
String[] getFilterExtensions()Gets the filter extensions.- Returns:
- the filter extensions
-
getDefaultExtension
String getDefaultExtension()Gets the default extension.- Returns:
- default extension
-
setObjectId
void setObjectId(org.pentaho.di.repository.ObjectId id) Set the database ID for this in the repository.- Specified by:
setObjectId
in interfaceorg.pentaho.di.repository.RepositoryElementInterface
- Parameters:
id
- the database ID for this in the repository
-
getCreatedDate
Date getCreatedDate()Gets the date the transformation was created.- Returns:
- the date the transformation was created
-
setCreatedDate
Sets the date the transformation was created.- Parameters:
date
- The creation date to set
-
canSave
boolean canSave()Returns whether or not the this can be saved.- Returns:
-
getCreatedUser
String getCreatedUser()Gets the user by whom this was created.- Returns:
- the user by whom this was created
-
setCreatedUser
Sets the user by whom this was created.- Parameters:
createduser
- The user to set
-
getModifiedDate
Date getModifiedDate()Gets the date this was modified.- Returns:
- the date this was modified
-
setModifiedDate
Sets the date this was modified.- Parameters:
date
- The modified date to set
-
setModifiedUser
Sets the user who last modified this.- Parameters:
user
- The user name to set
-
getModifiedUser
String getModifiedUser()Gets the user who last modified this.- Returns:
- the user who last modified this
-
getRepositoryDirectory
org.pentaho.di.repository.RepositoryDirectoryInterface getRepositoryDirectory()Gets the repository element type.- Specified by:
getRepositoryDirectory
in interfaceorg.pentaho.di.repository.RepositoryElementInterface
- Returns:
- the repository element type
-
getFilename
String getFilename()Get the filename (if any).- Returns:
- the filename
-
setInternalKettleVariables
void setInternalKettleVariables()Sets the internal kettle variables. -
setVersioningEnabled
Set versioning enabled- Parameters:
versioningEnabled
- is versioning enabled
-
getVersioningEnabled
Is versioning enabled.- Returns:
- is versioning enabled
-