19 lines
443 B
Java
19 lines
443 B
Java
package ru.ulstu.configuration;
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Component
|
|
@ConfigurationProperties(prefix = "example-web")
|
|
public class ApplicationProperties {
|
|
private boolean checkRun;
|
|
|
|
public boolean isCheckRun() {
|
|
return checkRun;
|
|
}
|
|
|
|
public void setCheckRun(boolean checkRun) {
|
|
this.checkRun = checkRun;
|
|
}
|
|
}
|