Package org.pentaho.di.core
Class LastUsedFile
- java.lang.Object
-
- org.pentaho.di.core.LastUsedFile
-
public class LastUsedFile extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILE_TYPE_CUSTOM
static String
FILE_TYPE_JOB
static String
FILE_TYPE_SCHEMA
static String
FILE_TYPE_TRANSFORMATION
static int
OPENED_ITEM_TYPE_MASK_GRAPH
static int
OPENED_ITEM_TYPE_MASK_HISTORY
static int
OPENED_ITEM_TYPE_MASK_LOG
static int
OPENED_ITEM_TYPE_MASK_NONE
-
Constructor Summary
Constructors Constructor Description LastUsedFile(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getConnection()
String
getDirectory()
String
getFilename()
String
getFileType()
Date
getLastOpened()
String
getLongFileType()
int
getOpenItemTypes()
String
getRepositoryName()
String
getUsername()
int
hashCode()
boolean
isJob()
boolean
isOpened()
boolean
isSchema()
boolean
isSourceRepository()
boolean
isTransformation()
void
setConnection(String connection)
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)
String
toString()
-
-
-
Field Detail
-
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
-
FILE_TYPE_CUSTOM
public static final String FILE_TYPE_CUSTOM
- 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
-
-
Constructor Detail
-
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 Detail
-
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
public String getConnection()
-
setConnection
public void setConnection(String connection)
-
-