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 Detail

      • setFilename

        void setFilename​(String filename)
        Sets the filename.
        Parameters:
        filename -
      • getName

        String getName()
        Gets the name.
        Specified by:
        getName in interface org.pentaho.di.repository.RepositoryElementInterface
        Specified by:
        getName in interface org.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

        String getXML()
               throws org.pentaho.di.core.exception.KettleException
        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 interface org.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

        void setCreatedDate​(Date date)
        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

        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:
        date - The modified date to set
      • setModifiedUser

        void setModifiedUser​(String user)
        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 interface org.pentaho.di.repository.RepositoryElementInterface
        Returns:
        the repository element type
      • getFilename

        String getFilename()
        Get the filename (if any).
        Returns:
        the filename
      • saveSharedObjects

        void saveSharedObjects()
                        throws org.pentaho.di.core.exception.KettleException
        Saves shared objects, including databases, steps, partition schemas, slave servers, and cluster schemas, to a file.
        Throws:
        org.pentaho.di.core.exception.KettleException
      • setInternalKettleVariables

        void setInternalKettleVariables()
        Sets the internal kettle variables.
      • setVersioningEnabled

        default void setVersioningEnabled​(Boolean versioningEnabled)
        Set versioning enabled
        Parameters:
        versioningEnabled - is versioning enabled
      • getVersioningEnabled

        default Boolean getVersioningEnabled()
        Is versioning enabled.
        Returns:
        is versioning enabled