Class HotswapFileTracker
java.lang.Object
ru.cg.webbpm.studio.subsystems.deploy.hotswap.impl.HotswapFileTracker
- All Implemented Interfaces:
FileListener
- Author:
- Abdulin Ildar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fileCreated
(FileEvent event) File system notificationvoid
fileDeleted
(FileEvent event) File system notificationvoid
fileModified
(FileEvent event) File system notificationboolean
void
overflow()
FileManager notificationvoid
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.cg.webbpm.studio.core.api.io.FileListener
beforeFileDeletion, beforeFileRenaming, failFileRenaming, fileMoved, fileRenamed
-
Constructor Details
-
HotswapFileTracker
-
-
Method Details
-
hasChanges
public boolean hasChanges() -
startTracking
- Throws:
HotswapException
-
stopTracking
public void stopTracking() -
updateSnapshot
- Throws:
HotswapException
-
getChanges
- Throws:
HotswapException
-
fileModified
Description copied from interface:FileListener
File system notification- Specified by:
fileModified
in interfaceFileListener
-
fileDeleted
Description copied from interface:FileListener
File system notification- Specified by:
fileDeleted
in interfaceFileListener
-
fileCreated
Description copied from interface:FileListener
File system notification- Specified by:
fileCreated
in interfaceFileListener
-
overflow
public void overflow()Description copied from interface:FileListener
FileManager notification- Specified by:
overflow
in interfaceFileListener
-