Package com.yahoo.searchdefinition
Class Application
- java.lang.Object
-
- com.yahoo.searchdefinition.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 Summary
Constructors Constructor Description Application(com.yahoo.config.application.api.ApplicationPackage applicationPackage, List<Schema> schemas, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, com.yahoo.config.model.api.ModelContext.Properties properties, boolean documentsOnly, boolean validate, Set<Class<? extends Processor>> processorsToSkip, com.yahoo.config.application.api.DeployLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.yahoo.config.application.api.ApplicationPackage
applicationPackage()
DocumentModel
documentModel()
Map<String,Schema>
schemas()
Returns an unmodifiable list of the schemas of this applicationString
toString()
-
-
-
Constructor Detail
-
Application
public Application(com.yahoo.config.application.api.ApplicationPackage applicationPackage, List<Schema> schemas, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, com.yahoo.config.model.api.ModelContext.Properties properties, boolean documentsOnly, boolean validate, Set<Class<? extends Processor>> processorsToSkip, com.yahoo.config.application.api.DeployLogger logger)
-
-
Method Detail
-
applicationPackage
public com.yahoo.config.application.api.ApplicationPackage applicationPackage()
-
schemas
public Map<String,Schema> schemas()
Returns an unmodifiable list of the schemas of this application
-
documentModel
public DocumentModel documentModel()
-
-