de.otto.synapse.edison.state.EdisonStateRepositoryUiProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of synapse-edison Show documentation
Show all versions of synapse-edison Show documentation
A library used at otto.de to integrate synapse-core with edison-microservice.
The newest version!
package de.otto.synapse.edison.state;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.ArrayList;
import java.util.List;
@ConfigurationProperties(prefix = "synapse.edison.state.ui")
public class EdisonStateRepositoryUiProperties {
/**
* Enables the registration of Edison UIs for StateRepositories.
*/
private boolean enabled = true;
/**
* The list of StateRepository names that should be excluded from the UI.
*/
private List excluded = new ArrayList<>();
EdisonStateRepositoryUiProperties() {
excluded.add("Compaction");
}
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public List getExcluded() {
return excluded;
}
public void setExcluded(List excluded) {
this.excluded = excluded;
}
}