com.inteligr8.solr.model.core.Status Maven / Gradle / Ivy
The newest version!
package com.inteligr8.solr.model.core;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.inteligr8.solr.model.CoreMetadata;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Status {
private Map cores = new HashMap();
@JsonAnyGetter
public Map getCores() {
return cores;
}
@JsonAnySetter
public void setCore(String core, CoreMetadata metadata) {
this.cores.put(core, metadata);
}
}