Package com.iizix.server.app
Class HotDeploy
java.lang.Object
com.iizix.server.app.HotDeploy
A hot deploy app that defines what is included for hot deploy to check for changes. The file system watcher service on the top level directory is used, then when it happens, the application files and directories are checked if it does affect a reload.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- File[]- addDirectory- (File dir) Adds a new directory to check for changes.- File[]- addDirectory- (File dir, File[] files) Adds a new directory to check for changes.- voidAdds a new file or directory to check for changes.
- Method Details- addFileAdds a new file or directory to check for changes.- Parameters:
- file- The file or directory to keep track of.
 
- addDirectoryAdds a new directory to check for changes.- Parameters:
- dir- The directory to keep track of.
- Returns:
- The list of files in the directory, perhaps empty (and never null).
 
- addDirectoryAdds a new directory to check for changes.- Parameters:
- dir- The directory to keep track of.
- files- The files to add.
- Returns:
- The list of files in the directory, perhaps empty (and never null).