Class CompilationStorage

java.lang.Object
org.eolang.opeo.storage.CompilationStorage
All Implemented Interfaces:
Storage

public final class CompilationStorage extends Object implements Storage
Compilation storage. The same as FileStorage, but with some logging.
Since:
0.2
  • Constructor Details

    • CompilationStorage

      public CompilationStorage(Path xmirs, Path output)
      Constructor.
      Parameters:
      xmirs - Path to the generated XMIRs by opeo-maven-plugin.
      output - Path to the output directory.
  • Method Details

    • all

      public Stream<XmirEntry> all()
      Description copied from interface: Storage
      Get all XMIRs.
      Specified by:
      all in interface Storage
      Returns:
      All XMIRs
    • save

      public void save(XmirEntry xmir)
      Description copied from interface: Storage
      Save XMIR.
      Specified by:
      save in interface Storage
      Parameters:
      xmir - XMIR to save