接口 ClassPathRestartStrategy
- 所有已知实现类:
PatternClassPathRestartStrategy
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.- 从以下版本开始:
- 1.3.0
- 另请参阅:
PatternClassPathRestartStrategy
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 boolean
isRestartRequired(ChangedFile file)
Return true if a full restart is required.
方法详细资料
isRestartRequired
boolean isRestartRequired(ChangedFile file)
Return true if a full restart is required.- 参数:
file
- the changed file- 返回:
true
if a full restart is required