Search in sources :

Example 1 with ExportTimeSpecs

use of org.vcell.api.common.events.ExportTimeSpecs 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);
}
Also used : ExportEventRepresentation(org.vcell.api.common.events.ExportEventRepresentation) ExportVariableSpecs(org.vcell.api.common.events.ExportVariableSpecs) ExportTimeSpecs(org.vcell.api.common.events.ExportTimeSpecs)

Aggregations

ExportEventRepresentation (org.vcell.api.common.events.ExportEventRepresentation)1 ExportTimeSpecs (org.vcell.api.common.events.ExportTimeSpecs)1 ExportVariableSpecs (org.vcell.api.common.events.ExportVariableSpecs)1