org.pentaho.di.core
Interface EngineMetaInterface

All Superinterfaces:
RepositoryElementInterface, RepositoryObjectInterface
All Known Implementing Classes:
JobMeta, TransMeta

public interface EngineMetaInterface
extends RepositoryElementInterface


Method Summary
 boolean canSave()
          Returns whether or not the this can be saved.
 void clearChanged()
          Clears the changed flag of this.
 Date getCreatedDate()
          Gets the date the transformation was created.
 String getCreatedUser()
          Gets the user by whom this was created.
 String getDefaultExtension()
          Gets the default extension.
 String getFilename()
          Get the filename (if any).
 String getFileType()
          Gets the file type.
 String[] getFilterExtensions()
          Gets the filter extensions.
 String[] getFilterNames()
          Gets the filter names.
 Date getModifiedDate()
          Gets the date this was modified.
 String getModifiedUser()
          Gets the user who last modified this.
 String getName()
          Gets the name.
 RepositoryDirectoryInterface getRepositoryDirectory()
          Gets the repository element type.
 String getXML()
          Gets the XML representation.
 void nameFromFilename()
          Builds a name for this.
 void saveSharedObjects()
          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 setInternalKettleVariables()
          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(ObjectId id)
          Set the database ID for this in the repository.
 
Methods inherited from interface org.pentaho.di.repository.RepositoryElementInterface
getDescription, getObjectId, getObjectRevision, getRepositoryElementType, setDescription, setName, setObjectRevision, setRepositoryDirectory
 

Method Detail

setFilename

void setFilename(String filename)
Sets the filename.

Parameters:
filename -

getName

String getName()
Gets the name.

Specified by:
getName in interface RepositoryElementInterface
Specified by:
getName in interface 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

String getXML()
              throws KettleException
Gets the XML representation.

Returns:
the XML representation of this transformation
Throws:
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(ObjectId id)
Set the database ID for this in the repository.

Specified by:
setObjectId in interface 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

void setCreatedDate(Date date)
Sets the date the transformation was created.

Parameters:
createdDate - 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

void setCreatedUser(String createduser)
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

void setModifiedDate(Date date)
Sets the date this was modified.

Parameters:
modifiedDate - The modified date to set

setModifiedUser

void setModifiedUser(String user)
Sets the user who last modified this.

Parameters:
modifiedUser - The user name to set

getModifiedUser

String getModifiedUser()
Gets the user who last modified this.

Returns:
the user who last modified this

getRepositoryDirectory

RepositoryDirectoryInterface getRepositoryDirectory()
Gets the repository element type.

Specified by:
getRepositoryDirectory in interface RepositoryElementInterface
Returns:
the repository element type

getFilename

String getFilename()
Get the filename (if any).

Returns:
the filename

saveSharedObjects

void saveSharedObjects()
                       throws KettleException
Saves shared objects, including databases, steps, partition schemas, slave servers, and cluster schemas, to a file.

Throws:
KettleException

setInternalKettleVariables

void setInternalKettleVariables()
Sets the internal kettle variables.