Class LockFile
java.lang.Object
org.pentaho.di.job.entries.checkfilelocked.LockFile
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LockFile
Checks if a file is locked In order to check is a file is locked we will use a dummy renaming exercise- Parameters:
filename
-- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
getFilename
Returns filename- Returns:
- filename
-
isLocked
public boolean isLocked()Returns lock indicator- Returns:
- TRUE is file is locked
-