2010-02-04 07:12:22 +01:00
|
|
|
package com.metaweb.gridworks.commands.recon;
|
2010-02-02 21:50:35 +01:00
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
2010-02-04 21:51:44 +01:00
|
|
|
import org.json.JSONObject;
|
|
|
|
|
|
|
|
import com.metaweb.gridworks.commands.EngineDependentCommand;
|
|
|
|
import com.metaweb.gridworks.model.AbstractOperation;
|
2010-02-22 05:23:25 +01:00
|
|
|
import com.metaweb.gridworks.model.operations.ReconMatchBestCandidatesOperation;
|
2010-02-02 21:50:35 +01:00
|
|
|
|
2010-02-22 05:23:25 +01:00
|
|
|
public class ReconMatchBestCandidatesCommand extends EngineDependentCommand {
|
2010-02-02 21:50:35 +01:00
|
|
|
|
|
|
|
@Override
|
2010-02-04 21:51:44 +01:00
|
|
|
protected AbstractOperation createOperation(HttpServletRequest request,
|
|
|
|
JSONObject engineConfig) throws Exception {
|
|
|
|
|
2010-02-17 01:26:38 +01:00
|
|
|
String columnName = request.getParameter("columnName");
|
2010-02-02 21:50:35 +01:00
|
|
|
|
2010-02-22 05:23:25 +01:00
|
|
|
return new ReconMatchBestCandidatesOperation(engineConfig, columnName);
|
2010-02-02 21:50:35 +01:00
|
|
|
}
|
|
|
|
}
|