Package org.pentaho.di.core
Class LastUsedFile
java.lang.Object
org.pentaho.di.core.LastUsedFile
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLastUsedFile
(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName, boolean opened, int openItemTypes) LastUsedFile
(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName, String username, boolean opened, int openItemTypes, Date lastOpened, String connection) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.The connection name is in the URI since full "pvfs" paths are being used.int
int
hashCode()
boolean
isJob()
boolean
isOpened()
boolean
isSchema()
boolean
boolean
void
setConnection
(String connection) Deprecated.The connection name is in the URI since full "pvfs" paths are being used.void
setDirectory
(String directory) void
setFilename
(String filename) void
setFileType
(String fileType) void
setLastOpened
(Date lastOpened) void
setOpened
(boolean opened) void
setOpenItemTypes
(int openItemTypes) void
setRepositoryName
(String repositoryName) void
setSourceRepository
(boolean sourceRepository) void
setUsername
(String username) toString()
-
Field Details
-
FILE_TYPE_TRANSFORMATION
- See Also:
-
FILE_TYPE_JOB
- See Also:
-
FILE_TYPE_SCHEMA
- See Also:
-
FILE_TYPE_CUSTOM
- See Also:
-
OPENED_ITEM_TYPE_MASK_NONE
public static final int OPENED_ITEM_TYPE_MASK_NONE- See Also:
-
OPENED_ITEM_TYPE_MASK_GRAPH
public static final int OPENED_ITEM_TYPE_MASK_GRAPH- See Also:
-
OPENED_ITEM_TYPE_MASK_LOG
public static final int OPENED_ITEM_TYPE_MASK_LOG- See Also:
-
OPENED_ITEM_TYPE_MASK_HISTORY
public static final int OPENED_ITEM_TYPE_MASK_HISTORY- See Also:
-
-
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
-
hashCode
public int hashCode() -
equals
-
getDirectory
- Returns:
- the directory
-
setDirectory
- Parameters:
directory
- the directory to set
-
getFilename
- Returns:
- the filename
-
setFilename
- Parameters:
filename
- the filename to set
-
getRepositoryName
- Returns:
- the repositoryName
-
setRepositoryName
- 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
- Returns:
- the fileType
-
getLongFileType
-
setFileType
- 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
-
setLastOpened
-
getUsername
-
setUsername
-
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.The connection name is in the URI since full "pvfs" paths are being used.Separate VFS connection name variable is no longer needed.
-