org.pentaho.di.core
Class LastUsedFile
java.lang.Object
org.pentaho.di.core.LastUsedFile
public class LastUsedFile
- extends Object
FILE_TYPE_TRANSFORMATION
public static final String FILE_TYPE_TRANSFORMATION
- See Also:
- Constant Field Values
FILE_TYPE_JOB
public static final String FILE_TYPE_JOB
- See Also:
- Constant Field Values
FILE_TYPE_SCHEMA
public static final String FILE_TYPE_SCHEMA
- See Also:
- Constant Field Values
OPENED_ITEM_TYPE_MASK_NONE
public static final int OPENED_ITEM_TYPE_MASK_NONE
- See Also:
- Constant Field Values
OPENED_ITEM_TYPE_MASK_GRAPH
public static final int OPENED_ITEM_TYPE_MASK_GRAPH
- See Also:
- Constant Field Values
OPENED_ITEM_TYPE_MASK_LOG
public static final int OPENED_ITEM_TYPE_MASK_LOG
- See Also:
- Constant Field Values
OPENED_ITEM_TYPE_MASK_HISTORY
public static final int OPENED_ITEM_TYPE_MASK_HISTORY
- See Also:
- Constant Field Values
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
-
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
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