2010-08-04 01:01:18 +02:00
|
|
|
package com.google.gridworks.commands.recon;
|
2010-05-05 01:24:48 +02:00
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
|
|
|
import org.json.JSONObject;
|
|
|
|
|
2010-08-04 01:01:18 +02:00
|
|
|
import com.google.gridworks.commands.EngineDependentCommand;
|
|
|
|
import com.google.gridworks.model.AbstractOperation;
|
|
|
|
import com.google.gridworks.model.Project;
|
|
|
|
import com.google.gridworks.operations.recon.ReconMatchBestCandidatesOperation;
|
2010-05-05 01:24:48 +02:00
|
|
|
|
|
|
|
public class ReconMatchBestCandidatesCommand extends EngineDependentCommand {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected AbstractOperation createOperation(Project project,
|
|
|
|
HttpServletRequest request, JSONObject engineConfig) throws Exception {
|
|
|
|
|
|
|
|
String columnName = request.getParameter("columnName");
|
|
|
|
|
|
|
|
return new ReconMatchBestCandidatesOperation(engineConfig, columnName);
|
|
|
|
}
|
|
|
|
}
|