Engine configs were not deserialized properly when abstract operatons are retrieved.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@101 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
b1afd12bd5
commit
604dd53ebd
@ -29,7 +29,7 @@ public class ApproveNewReconOperation extends EngineDependentMassCellOperation {
|
||||
writer.object();
|
||||
writer.key("op"); writer.value("approve-new-recon");
|
||||
writer.key("description"); writer.value("Approve new topics in column " + _columnName);
|
||||
writer.key("engineConfig"); writer.value(_engineConfig);
|
||||
writer.key("engineConfig"); writer.value(getEngineConfig());
|
||||
writer.key("columnName"); writer.value(_columnName);
|
||||
writer.endObject();
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ public class ApproveReconOperation extends EngineDependentMassCellOperation {
|
||||
writer.object();
|
||||
writer.key("op"); writer.value("approve-recon");
|
||||
writer.key("description"); writer.value("Approve best recon matches in column " + _columnName);
|
||||
writer.key("engineConfig"); writer.value(_engineConfig);
|
||||
writer.key("engineConfig"); writer.value(getEngineConfig());
|
||||
writer.key("columnName"); writer.value(_columnName);
|
||||
writer.endObject();
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ public class ColumnAdditionOperation extends EngineDependentOperation {
|
||||
" based on column " + _baseColumnName +
|
||||
" using expression " + _expression);
|
||||
|
||||
writer.key("engineConfig"); writer.value(_engineConfig);
|
||||
writer.key("engineConfig"); writer.value(getEngineConfig());
|
||||
writer.key("headerLabel"); writer.value(_headerLabel);
|
||||
writer.key("columnInsertIndex"); writer.value(_columnInsertIndex);
|
||||
writer.key("baseColumnName"); writer.value(_baseColumnName);
|
||||
|
@ -27,7 +27,7 @@ public class DiscardReconOperation extends EngineDependentMassCellOperation {
|
||||
writer.object();
|
||||
writer.key("op"); writer.value("disapprove-recon");
|
||||
writer.key("description"); writer.value("Discard recon judgments in column " + _columnName);
|
||||
writer.key("engineConfig"); writer.value(_engineConfig);
|
||||
writer.key("engineConfig"); writer.value(getEngineConfig());
|
||||
writer.key("columnName"); writer.value(_columnName);
|
||||
writer.endObject();
|
||||
}
|
||||
|
@ -100,6 +100,7 @@ public class ReconOperation extends EngineDependentOperation {
|
||||
writer.key("description"); writer.value("Reconcile cells in column " + _columnName + " to type " + _typeID);
|
||||
writer.key("columnName"); writer.value(_columnName);
|
||||
writer.key("typeID"); writer.value(_typeID);
|
||||
writer.key("engineConfig"); writer.value(getEngineConfig());
|
||||
writer.endObject();
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ public class TextTransformOperation extends EngineDependentMassCellOperation {
|
||||
writer.object();
|
||||
writer.key("op"); writer.value("text-transform");
|
||||
writer.key("description"); writer.value("Text transform on cells in column " + _columnName + " with expression " + _expression);
|
||||
writer.key("engineConfig"); writer.value(_engineConfig);
|
||||
writer.key("engineConfig"); writer.value(getEngineConfig());
|
||||
writer.key("columnName"); writer.value(_columnName);
|
||||
writer.key("expression"); writer.value(_expression);
|
||||
writer.endObject();
|
||||
|
Loading…
Reference in New Issue
Block a user