Interface ClassPathRestartStrategy
- All Known Implementing Classes:
PatternClassPathRestartStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ClassPathRestartStrategy
Strategy interface used to determine when a changed classpath file should trigger a full application restart. For example, static web resources might not require a full restart where as class files would.- Since:
- 1.3.0
- See Also:
PatternClassPathRestartStrategy
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isRestartRequired(ChangedFile file)
Return true if a full restart is required.
Method Detail
isRestartRequired
boolean isRestartRequired(ChangedFile file)
Return true if a full restart is required.- Parameters:
file
- the changed file- Returns:
true
if a full restart is required