All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.autoconfigure.hypermedia.HypermediaProperties Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
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;
        }

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy