类 PatternClassPathRestartStrategy
- java.lang.Object
- org.springframework.boot.devtools.classpath.PatternClassPathRestartStrategy
- 所有已实现的接口:
ClassPathRestartStrategy
public class PatternClassPathRestartStrategy extends Object implements ClassPathRestartStrategy
Ant style pattern basedClassPathRestartStrategy
.- 从以下版本开始:
- 1.3.0
- 另请参阅:
ClassPathRestartStrategy
构造器概要
构造器 构造器 说明 PatternClassPathRestartStrategy(String excludePatterns)
PatternClassPathRestartStrategy(String[] excludePatterns)
构造器详细资料
PatternClassPathRestartStrategy
public PatternClassPathRestartStrategy(String[] excludePatterns)
PatternClassPathRestartStrategy
public PatternClassPathRestartStrategy(String excludePatterns)
方法详细资料
isRestartRequired
public boolean isRestartRequired(ChangedFile file)
从接口复制的说明:ClassPathRestartStrategy
Return true if a full restart is required.- 指定者:
isRestartRequired
在接口中ClassPathRestartStrategy
- 参数:
file
- the changed file- 返回:
true
if a full restart is required