use of fr.inria.spirals.repairnator.serializer.engines.SerializerEngine in project repairnator by Spirals-Team.
the class InspectorSerializer4Bears method serializeData.
@Override
public void serializeData(ProjectInspector inspector) {
SerializedData data = new SerializedData(this.serializeAsList(inspector), this.serializeAsJson(inspector));
List<SerializedData> allData = new ArrayList<>();
allData.add(data);
for (SerializerEngine engine : this.getEngines()) {
engine.serialize(allData, this.getType());
}
}
use of fr.inria.spirals.repairnator.serializer.engines.SerializerEngine in project repairnator by Spirals-Team.
the class InspectorTimeSerializer4Bears method serializeData.
@Override
public void serializeData(ProjectInspector inspector) {
SerializedData data = new SerializedData(this.serializeAsList(inspector), this.serializeAsJson(inspector));
List<SerializedData> allData = new ArrayList<>();
allData.add(data);
for (SerializerEngine engine : this.getEngines()) {
engine.serialize(allData, this.getType());
}
}
use of fr.inria.spirals.repairnator.serializer.engines.SerializerEngine in project repairnator by Spirals-Team.
the class ScannerSerializer method serialize.
public void serialize() {
SerializedData data = new SerializedData(this.serializeAsList(), this.serializeAsJson());
List<SerializedData> allData = new ArrayList<>();
allData.add(data);
for (SerializerEngine engine : this.getEngines()) {
engine.serialize(allData, this.getType());
}
}
Aggregations