@Test public void shouldParseClusterInheritedPermissions() throws Exception { AutoInstanceConfig config = getAutoInstanceConfigs(VIEW_XML); Collection<String> roles = config.getRoles(); assertEquals(2, roles.size()); assertTrue(roles.contains("CLUSTER.OPERATOR")); assertTrue(roles.contains("CLUSTER.USER")); }
public Set<String> getRoles() { return roles; }
AutoInstanceConfig extends InstanceConfig { public Set<String> getRoles() { return roles; } }
AutoInstanceConfig extends InstanceConfig { public Set<String> getRoles() { return roles; }  }
AutoInstanceConfig extends InstanceConfig { public Set<String> getRoles() { return roles; }  String getStackId(); List<String> getServices(); Set<String> getRoles(); }
AutoInstanceConfig extends InstanceConfig { public Set<String> getRoles() { return roles; }  String getStackId(); List<String> getServices(); Set<String> getRoles();  }