Class Notebook

java.lang.Object
io.vertigo.studio.notebook.Notebook

public final class Notebook extends Object
A Studio notebook is a space where sketches are shared and modified. (not threadSafe). It's a conceptual representation of a project design that is human readable, storable and comparable
Author:
mlaroche, pchretien
  • Constructor Details

    • Notebook

      public Notebook()
  • Method Details

    • register

      public void register(Sketch sketch)
      Registers a new Sketch. The sketch must not be already registered.
      Parameters:
      sketch - the sketch
    • contains

      public boolean contains(String name)
    • resolve

      public <D extends Sketch> D resolve(String name, Class<D> clazz)
    • getAllTypes

      public Set<Class<? extends Sketch>> getAllTypes()
    • getAll

      public <S extends Sketch> List<S> getAll(Class<S> clazz)