}
properties.put("stageName", stage.getName());
properties.put("stageGroup", stageGroupName);
properties.put("libId", stage.getDatabaseFile().getId());
} else {
throw new StageClassNotFoundException("Stage class '" + stageClass
+ "' for stage '" + stage.getName() + "' not found."
+ " Available stage classes: '" + stages.keySet() + "'");
}
} catch (IOException e) {
throw new DatabaseException("Failed to scan pipeline", e);