use of org.vcell.api.common.events.ExportVariableSpecs in project vcell by virtualcell.
the class ExportEvent method toJsonRep.
public ExportEventRepresentation toJsonRep() {
ExportTimeSpecs exportTimeSpecs = null;
if (timeSpecs != null) {
exportTimeSpecs = timeSpecs.toJsonRep();
}
ExportVariableSpecs exportVariableSpecs = null;
if (variableSpecs != null) {
exportVariableSpecs = variableSpecs.toJsonRep();
}
return new ExportEventRepresentation(eventType, progress, format, location, user.getName(), user.getID().toString(), jobID, dataIdString, dataKey.toString(), exportTimeSpecs, exportVariableSpecs);
}
Aggregations