vert-x/vert.x — pull request #439 by jdonnerstag (2012-11-30 20:08:51+00:00)
Title: Redeployer rewrite

When I tried to understand Redeployer I struggled even though it's not a huge class. But it is undocumented and the numerous maps didn't make it easier. Than I thought what it's all about: monitor a directory and it's subdirectories and if something has changed, but no more changes happened for a grace period, than raise an event. All that can be implemented in a re-usable fashion since it has nothing to do with vertx => FolderWatcher. After I changed Redeployer to use FolderWatcher, Redeployer became really easy (and FolderWatcher is not complicated either).
Since FolderWatcher provides functionalities interesting for users as well, I made the instance available via Vertx.
RedeployerTest remained more or less unchanged to validate the new implementation works as before.