java.lang.Object
com.aoindustries.aoserv.daemon.util.BuilderThread
com.aoindustries.aoserv.daemon.ftp.FTPManager
- All Implemented Interfaces:
TableListener,PackageManager.PackageListener
Handles the building of FTP configs and files.
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
DEFAULT_MAXIMUM_DELAY, DEFAULT_MINIMUM_DELAY, DEFAULT_PROCESS_TIMER_MAXIMUM_TIME, DEFAULT_PROCESS_TIMER_REMINDER_INTERVAL -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic voidstart()static voidRemoves any file in the directory that is not listed infiles.static voidRemoves any file in the directory that is not listed infiles.Methods inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
getMaximumDelay, getMinimumDelay, getProcessTimerMaximumTime, getProcessTimerReminderInterval, getProcessTimerSubject, getRandomDelay, packageListUpdated, tableUpdated, waitForBuild
-
Method Details
-
doRebuild
protected boolean doRebuild()- Specified by:
doRebuildin classBuilderThread- Returns:
trueif successful orfalseif unsuccessful and needs to be retried.
-
start
- Throws:
IOExceptionSQLException
-
trimFiles
Removes any file in the directory that is not listed infiles.- Throws:
IOException
-
trimFiles
Removes any file in the directory that is not listed infiles.- Throws:
IOException
-
getProcessTimerDescription
- Specified by:
getProcessTimerDescriptionin classBuilderThread
-
