com.netgrif.application.engine.configuration.properties.CacheProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.configuration.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.*;
@Data
@Configuration
@ConfigurationProperties(prefix = "nae.cache")
public class CacheProperties {
private String petriNetById = "petriNetById";
private String petriNetByIdentifier = "petriNetByIdentifier";
private String petriNetNewest = "petriNetNewest";
private String petriNetCache = "petriNetCache";
private List additional = new ArrayList<>();
public Set getAllCaches() {
Set caches = new LinkedHashSet<>(Arrays.asList(petriNetById, petriNetByIdentifier, petriNetNewest, petriNetCache));
caches.addAll(additional);
return caches;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy