Class LastUsedFile

java.lang.Object
org.pentaho.di.core.LastUsedFile

public class LastUsedFile extends Object
  • Field Details

  • Constructor Details

    • LastUsedFile

      public LastUsedFile(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName, boolean opened, int openItemTypes)
      Parameters:
      fileType - The type of file to use (FILE_TYPE_TRANSFORMATION, FILE_TYPE_JOB, ...)
      filename -
      directory -
      sourceRepository -
      repositoryName -
      opened -
      openItemTypes -
    • LastUsedFile

      public LastUsedFile(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName, String username, boolean opened, int openItemTypes, Date lastOpened, String connection)
      Parameters:
      fileType - The type of file to use (FILE_TYPE_TRANSFORMATION, FILE_TYPE_JOB, ...)
      filename -
      directory -
      sourceRepository -
      repositoryName -
      username -
      opened -
      openItemTypes -
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getDirectory

      public String getDirectory()
      Returns:
      the directory
    • setDirectory

      public void setDirectory(String directory)
      Parameters:
      directory - the directory to set
    • getFilename

      public String getFilename()
      Returns:
      the filename
    • setFilename

      public void setFilename(String filename)
      Parameters:
      filename - the filename to set
    • getRepositoryName

      public String getRepositoryName()
      Returns:
      the repositoryName
    • setRepositoryName

      public void setRepositoryName(String repositoryName)
      Parameters:
      repositoryName - the repositoryName to set
    • isSourceRepository

      public boolean isSourceRepository()
      Returns:
      the sourceRepository
    • setSourceRepository

      public void setSourceRepository(boolean sourceRepository)
      Parameters:
      sourceRepository - the sourceRepository to set
    • getFileType

      public String getFileType()
      Returns:
      the fileType
    • getLongFileType

      public String getLongFileType()
    • setFileType

      public void setFileType(String fileType)
      Parameters:
      fileType - the fileType to set
    • isTransformation

      public boolean isTransformation()
    • isJob

      public boolean isJob()
    • isSchema

      public boolean isSchema()
    • isOpened

      public boolean isOpened()
      Returns:
      the opened
    • setOpened

      public void setOpened(boolean opened)
      Parameters:
      opened - the opened to set
    • getOpenItemTypes

      public int getOpenItemTypes()
      Returns:
      the openItemTypes
    • setOpenItemTypes

      public void setOpenItemTypes(int openItemTypes)
      Parameters:
      openItemTypes - the openItemTypes to set
    • getLastOpened

      public Date getLastOpened()
    • setLastOpened

      public void setLastOpened(Date lastOpened)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getConnection

      @Deprecated public String getConnection()
      Deprecated.
      The connection name is in the URI since full "pvfs" paths are being used.
      Separate VFS connection name variable is no longer needed.
    • setConnection

      @Deprecated public void setConnection(String connection)
      Deprecated.
      The connection name is in the URI since full "pvfs" paths are being used.
      Separate VFS connection name variable is no longer needed.