Package com.yahoo.config.model.admin
Class AdminModel
- java.lang.Object
-
- com.yahoo.config.model.ConfigModel
-
- com.yahoo.config.model.admin.AdminModel
-
public class AdminModel extends ConfigModel
Config model adaptor of the Admin class.- Author:
- Ulf Lilleengen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminModel.BuilderV2
static class
AdminModel.BuilderV4
-
Constructor Summary
Constructors Constructor Description AdminModel(ConfigModelContext modelContext, java.util.Collection<ContainerModel> containerModels)
Constructs a new config model given a context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Admin
getAdmin()
void
prepare(ConfigModelRepo configModelRepo, DeployState deployState)
Prepares this model to start serving config requests, possibly using properties of other models.-
Methods inherited from class com.yahoo.config.model.ConfigModel
getId, initialize, isServing
-
-
-
-
Constructor Detail
-
AdminModel
public AdminModel(ConfigModelContext modelContext, java.util.Collection<ContainerModel> containerModels)
Constructs a new config model given a context.- Parameters:
modelContext
- the model context.
-
-
Method Detail
-
getAdmin
public Admin getAdmin()
-
prepare
public void prepare(ConfigModelRepo configModelRepo, DeployState deployState)
Description copied from class:ConfigModel
Prepares this model to start serving config requests, possibly using properties of other models. The framework will call this method after models have been built. The model should finalize its configurations that depend on other models in this step. This default implementation does nothing.- Overrides:
prepare
in classConfigModel
- Parameters:
configModelRepo
- The ConfigModelRepo of the system model
-
-