use of org.apache.nifi.registry.flow.VersionedProcessGroup in project nifi-registry by apache.
the class TestRegistryService method createVersionedProcessGroupA.
private VersionedProcessGroup createVersionedProcessGroupA() {
VersionedProcessGroup root = new VersionedProcessGroup();
root.setProcessGroups(new HashSet<>(Arrays.asList(createProcessGroup("ID-pg1"), createProcessGroup("ID-pg2"))));
// Add processors
root.setProcessors(new HashSet<>(Arrays.asList(createVersionedProcessor("ProcessorFirstV1"), createVersionedProcessor("ProcessorSecondV1"))));
return root;
}
Aggregations