DescriptionService descriptionService = operationContext.getRuntimeContext().getRuntimeComponent(
DescriptionService.class);
if (descriptionService == null)
throw new OperationException(operationName, "Description service was null");
ChromatticManager chromatticManager = operationContext.getRuntimeContext().getRuntimeComponent(ChromatticManager.class);
if (chromatticManager == null) throw new OperationException(operationName, "Chromattic manager was null");
String mode = operationContext.getAttributes().getValue("importMode");
if (mode == null || "".equals(mode))
mode = "merge";