edb23eb263
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1288 7d457c2a-affb-35e4-300a-418c747d4874
22 lines
747 B
Java
22 lines
747 B
Java
package com.google.refine.commands.recon;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
import org.json.JSONObject;
|
|
|
|
import com.google.refine.commands.EngineDependentCommand;
|
|
import com.google.refine.model.AbstractOperation;
|
|
import com.google.refine.model.Project;
|
|
import com.google.refine.operations.recon.ReconDiscardJudgmentsOperation;
|
|
|
|
public class ReconDiscardJudgmentsCommand extends EngineDependentCommand {
|
|
@Override
|
|
protected AbstractOperation createOperation(Project project,
|
|
HttpServletRequest request, JSONObject engineConfig) throws Exception {
|
|
|
|
String columnName = request.getParameter("columnName");
|
|
|
|
return new ReconDiscardJudgmentsOperation(engineConfig, columnName);
|
|
}
|
|
}
|