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

com.inteligr8.solr.model.core.ReloadRequest Maven / Gradle / Ivy

The newest version!
package com.inteligr8.solr.model.core;

import com.inteligr8.solr.model.JsonFormattedResponseRequest;

import jakarta.annotation.Nonnull;
import jakarta.ws.rs.DefaultValue;
import jakarta.ws.rs.QueryParam;

public class ReloadRequest extends JsonFormattedResponseRequest {
	
	private static final String ACTION = "RELOAD";
	
	@QueryParam("action")
	@DefaultValue(ACTION)
	@Nonnull
	private String action = ACTION;
	
	@QueryParam("core")
	@Nonnull
	private String core;
	
	public String getAction() {
		return action;
	}
	
	public void setAction(String action) {
		this.action = action;
	}
	
	public String getCore() {
		return core;
	}
	
	public void setCore(String core) {
		this.core = core;
	}
	
	public ReloadRequest withCore(String core) {
		this.core = core;
		return this;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy