Class LockFile
- java.lang.Object
-
- org.pentaho.di.job.entries.checkfilelocked.LockFile
-
public class LockFile extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFilename()
Returns filenameboolean
isLocked()
Returns lock indicator
-
-
-
Constructor Detail
-
LockFile
public LockFile(String filename) throws org.pentaho.di.core.exception.KettleException
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 Detail
-
getFilename
public String getFilename()
Returns filename- Returns:
- filename
-
isLocked
public boolean isLocked()
Returns lock indicator- Returns:
- TRUE is file is locked
-
-