Class Application


  • public class Application
    extends Object
    A collection of objects representing the content of an application package. This is created, then added to, and lastly validated when there is no more content to add. At that point it is ready to use for deriving configuration.
    Author:
    bratseth
    • Constructor Detail

      • Application

        public Application​(com.yahoo.config.application.api.ApplicationPackage applicationPackage)
    • Method Detail

      • applicationPackage

        public com.yahoo.config.application.api.ApplicationPackage applicationPackage()
      • add

        public void add​(Schema schema)
      • schemas

        public Map<String,​Schema> schemas()
        Returns an unmodifiable list of the schemas of this application
      • validate

        public void validate​(com.yahoo.config.application.api.DeployLogger logger)
        Validates this. Must be called after all content is added to it.