Class ResourcesGeneratorBase

    • Field Detail

      • configBeanToPOSTCommand

        public static final Map<String,​String> configBeanToPOSTCommand
      • configBeanToCollectionLeafMetaData

        public static final Map<String,​org.glassfish.admin.rest.generator.CollectionLeafMetaData> configBeanToCollectionLeafMetaData
    • Constructor Detail

      • ResourcesGeneratorBase

        public ResourcesGeneratorBase​(org.glassfish.hk2.api.ServiceLocator habitat)
    • Method Detail

      • configModelVisited

        public void configModelVisited​(ConfigModel model)
      • alreadyGenerated

        protected boolean alreadyGenerated​(String className)
        Parameters:
        className -
        Returns:
        true if the given className is already generated. false otherwise.
      • getBeanName

        public static String getBeanName​(String elementName)
        Parameters:
        elementName -
        Returns:
        bean name for the given element name. The name is derived by uppercasing first letter of elementName, eliminating hyphens from elementName and uppercasing letter followed by hyphen