example
Interface Example
- public interface Example
Interface that should be implemented by test classes in the
$HOTSWAP_HOME/examples
directory. For simplicity,
Example
implementations need to be public classes and
should have a public no-argument constructor.
Method Summary |
void |
execute()
Do whatever you want to do. |
long |
getSleepMillis()
Return the number of milliseconds to sleep inbetween hotswap
attempts; a negative number will stop the Hotswap
Thread and exit the program. |
execute
public void execute()
- Do whatever you want to do.
getSleepMillis
public long getSleepMillis()
- Return the number of milliseconds to sleep inbetween hotswap
attempts; a negative number will stop the Hotswap
Thread
and exit the program.