org.zodiac.autoconfigure.hypermedia.HypermediaProperties Maven / Gradle / Ivy
package org.zodiac.autoconfigure.hypermedia;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.zodiac.commons.constants.SystemPropertiesConstants;
@ConfigurationProperties(prefix = SystemPropertiesConstants.Zodiac.SPRING_BOOTSTRAP_HYPERMEDIA_PREFIX)
public class HypermediaProperties {
private final Refresh refresh = new Refresh();
public Refresh getRefresh() {
return this.refresh;
}
public static class Refresh {
private int fixedDelay = 5000;
private int initialDelay = 10000;
public int getFixedDelay() {
return this.fixedDelay;
}
public Refresh setFixedDelay(int fixedDelay) {
this.fixedDelay = fixedDelay;
return this;
}
public int getInitialDelay() {
return this.initialDelay;
}
public Refresh setInitialDelay(int initialDelay) {
this.initialDelay = initialDelay;
return this;
}
}
}