Uses of Interface
org.btrplace.model.view.ModelView
Package | Description |
---|---|
org.btrplace.json.model.view |
Converters for the decorators.
|
org.btrplace.model |
Core package of btrplace that allow to describe a data centre model that is composed of
a consistent view of an infrastructure, and some constraint that should be satisfied
|
org.btrplace.model.view |
Concrete implementation of
ModelView . |
org.btrplace.model.view.network |
Material for defining the network
|
org.btrplace.scheduler.choco.constraint |
Choco implementation of the model constraints.
|
org.btrplace.scheduler.runner.disjoint.model |
-
Uses of ModelView in org.btrplace.json.model.view
Classes in org.btrplace.json.model.view with type parameters of type ModelView Modifier and Type Interface Description interface
ModelViewConverter<E extends ModelView>
Specify a JSON converter for aModelView
.Methods in org.btrplace.json.model.view that return ModelView Modifier and Type Method Description ModelView
ModelViewsConverter. fromJSON(Model mo, net.minidev.json.JSONObject in)
Convert a json-encoded view.Methods in org.btrplace.json.model.view that return types with arguments of type ModelView Modifier and Type Method Description Set<Class<? extends ModelView>>
ModelViewsConverter. getSupportedJavaViews()
Get the Java view that are supported by the converter.Methods in org.btrplace.json.model.view with parameters of type ModelView Modifier and Type Method Description net.minidev.json.JSONObject
ModelViewsConverter. toJSON(ModelView o)
Serialise a view.Method parameters in org.btrplace.json.model.view with type arguments of type ModelView Modifier and Type Method Description void
ModelViewsConverter. register(ModelViewConverter<? extends ModelView> c)
Register a converter for a specific view. -
Uses of ModelView in org.btrplace.model
Methods in org.btrplace.model that return ModelView Modifier and Type Method Description ModelView
DefaultModel. getView(String id)
ModelView
Model. getView(String id)
Get a view already attached to the modelMethods in org.btrplace.model that return types with arguments of type ModelView Modifier and Type Method Description Collection<ModelView>
DefaultModel. getViews()
Collection<ModelView>
Model. getViews()
Get all the view attached to the model.Methods in org.btrplace.model with parameters of type ModelView Modifier and Type Method Description boolean
DefaultModel. attach(ModelView v)
boolean
Model. attach(ModelView v)
Attach a view to the model.boolean
DefaultModel. detach(ModelView v)
boolean
Model. detach(ModelView v)
Detach a view from this model. -
Uses of ModelView in org.btrplace.model.view
Classes in org.btrplace.model.view that implement ModelView Modifier and Type Class Description class
NamingService<E extends Element>
A simple service to name VMs or nodes.class
ShareableResource
A view to denote a resource that nodes share among the VMs they host -
Uses of ModelView in org.btrplace.model.view.network
Classes in org.btrplace.model.view.network that implement ModelView Modifier and Type Class Description class
Network
A network view that allows to create switches and connect them to nodes or together using links.Methods in org.btrplace.model.view.network that return ModelView Modifier and Type Method Description ModelView
Network. copy()
-
Uses of ModelView in org.btrplace.scheduler.choco.constraint
Methods in org.btrplace.scheduler.choco.constraint with parameters of type ModelView Modifier and Type Method Description ChocoView
ChocoMapper. get(ModelView c)
Get the implementation of the givenModelView
.Method parameters in org.btrplace.scheduler.choco.constraint with type arguments of type ModelView Modifier and Type Method Description void
ChocoMapper. mapView(Class<? extends ModelView> c, Class<? extends ChocoView> cc)
Register a mapping between an api-side view and its choco implementation.boolean
ChocoMapper. unMapView(Class<? extends ModelView> c)
Remove the mapping associated to a givenModelView
.boolean
ChocoMapper. viewHasMapping(Class<? extends ModelView> c)
Check if a given mapping exists. -
Uses of ModelView in org.btrplace.scheduler.runner.disjoint.model
Methods in org.btrplace.scheduler.runner.disjoint.model that return ModelView Modifier and Type Method Description ModelView
SubModel. getView(String id)
Methods in org.btrplace.scheduler.runner.disjoint.model that return types with arguments of type ModelView Modifier and Type Method Description Collection<ModelView>
SubModel. getViews()