public ProcessGroup createProcessGroup(final String id) { final MutableVariableRegistry mutableVariableRegistry = new MutableVariableRegistry(flowController.getVariableRegistry()); final ProcessGroup group = new StandardProcessGroup(requireNonNull(id), flowController.getControllerServiceProvider(), processScheduler, nifiProperties, flowController.getEncryptor(), flowController, mutableVariableRegistry); allProcessGroups.put(group.getIdentifier(), group); return group; }
nifiProperties, encryptor, this, new MutableVariableRegistry(this.variableRegistry)); rootGroup.setName(FlowManager.DEFAULT_ROOT_GROUP_NAME); setRootGroup(rootGroup);