class Run {

	public Bundle getDataBundle() {
		if (getWorkflowReport() != null)
			// Save the workflow report
			try {
				workflowReportJson.save(getWorkflowReport(), dataBundle);
			} catch (IOException e) {
				logger.log(WARNING,
						"Can't save workflow report to data bundle", e);
			}
		// Update manifest
		try {
			Manifest manifest = new Manifest(dataBundle);
			manifest.populateFromBundle();
			manifest.writeAsJsonLD();
		} catch (IOException e) {
			logger.log(WARNING, "Can't add manifest to data bundle", e);
		}
		return dataBundle;
	}

	public  Run(RunProfile runProfile);
	public  Run(String id, Bundle bundle);

}