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