Interface ModelView

All Superinterfaces:
Copyable<ModelView>
All Known Implementing Classes:
NamingService, Network, ShareableResource

public interface ModelView
extends Copyable<ModelView>
A view provides some domain-specific information about the elements of a model. A view must have a unique identifier
Author:
Fabien Hermenier
  • Method Summary

    Modifier and Type Method Description
    String getIdentifier()
    Get the view identifier.
    boolean substituteVM​(VM curId, VM nextId)
    Notify the view a VM that already exist will be substituted by another VM during the reconfiguration process.

    Methods inherited from interface org.btrplace.Copyable

    copy
  • Method Details

    • getIdentifier

      String getIdentifier()
      Get the view identifier.
      Returns:
      a non-empty String
    • substituteVM

      boolean substituteVM​(VM curId, VM nextId)
      Notify the view a VM that already exist will be substituted by another VM during the reconfiguration process.
      Parameters:
      curId - the current VM identifier
      nextId - the new VM identifier
      Returns:
      true iff the operation succeeded