@Test public void groupname_with_subpath() { SimpleGroupPath expected_path = SimpleGroupPath.valueOf(Stream.concat(groupname.getPath().getPath().stream(), Stream.of("foo")).collect(Collectors.toList())); GroupName expected_groupname = GroupName.valueOf(expected_path, groupname.getTags()); final MBeanGroup mbg = new MBeanGroup(obj_name, new NamedResolverMap(singletonMap(Any2.left(0), Any3.create3("foo")))); assertEquals(expected_groupname, mbg.getName()); }
public GroupName getName() { return name_; }
MBeanGroup { public GroupName getName() { return name_; } }
MBeanGroup { public GroupName getName() { return name_; } MBeanGroup(GroupName name, ObjectName obj_name);  MBeanGroup(ObjectName obj_name, NamedResolverMap resolvedMap); }
MBeanGroup { public GroupName getName() { return name_; } MBeanGroup(GroupName name, ObjectName obj_name);  MBeanGroup(ObjectName obj_name, NamedResolverMap resolvedMap); Optional<MetricGroup> getMetrics(MBeanServerConnection conn); GroupName getName(); ObjectName getMonitoredMBeanName(); }
MBeanGroup { public GroupName getName() { return name_; } MBeanGroup(GroupName name, ObjectName obj_name);  MBeanGroup(ObjectName obj_name, NamedResolverMap resolvedMap); Optional<MetricGroup> getMetrics(MBeanServerConnection conn); GroupName getName(); ObjectName getMonitoredMBeanName();  }