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

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);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy