Interface RestartInitializer
- All Known Implementing Classes:
DefaultRestartInitializer
public interface RestartInitializer
Strategy interface used to initialize aRestarter.- Since:
- 1.3.0
- See Also:
DefaultRestartInitializer
Field Summary
Fields Modifier and Type Field Description static RestartInitializerNONERestartInitializerthat doesn't return any URLs.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URL[]getInitialUrls(Thread thread)Return the initial set of URLs for theRestarterornullif no initial restart is required.
Field Detail
NONE
static final RestartInitializer NONE
RestartInitializerthat doesn't return any URLs.
Method Detail
getInitialUrls
URL[] getInitialUrls(Thread thread)
Return the initial set of URLs for theRestarterornullif no initial restart is required.- Parameters:
thread- the source thread- Returns:
- initial URLs or
null