@Test public void testGetPluralName() throws Exception { PrivilegeResourceDefinition privilegeResourceDefinition = new PrivilegeResourceDefinition(Resource.Type.AmbariPrivilege); Assert.assertEquals("privileges", privilegeResourceDefinition.getPluralName()); }
@Override public String getPluralName() { return "privileges"; }
PrivilegeResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "privileges"; } }
PrivilegeResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "privileges"; } PrivilegeResourceDefinition(Resource.Type type); }
PrivilegeResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "privileges"; } PrivilegeResourceDefinition(Resource.Type type); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions(); }
PrivilegeResourceDefinition extends BaseResourceDefinition { @Override public String getPluralName() { return "privileges"; } PrivilegeResourceDefinition(Resource.Type type); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }