Interface RunDataStore

  • All Known Implementing Classes:
    MockRunDataStore

    public interface RunDataStore
    Author:
    jonmv
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(com.yahoo.config.provision.ApplicationId id)
      Deletes all data associated with the given application.
      void delete​(RunId id)
      Deletes the run logs and test report for the given deployment job.
      Optional<byte[]> get​(RunId id)
      Returns the run logs of the given deployment job, if existent.
      Optional<byte[]> getTestReport​(RunId id)
      Returns the test report og the given deployment job, if present
      void put​(RunId id, byte[] log)
      Stores the given log for the given deployment job.
      void putTestReport​(RunId id, byte[] report)
      Stores the test report for the given deployment job
    • Method Detail

      • get

        Optional<byte[]> get​(RunId id)
        Returns the run logs of the given deployment job, if existent.
      • put

        void put​(RunId id,
                 byte[] log)
        Stores the given log for the given deployment job.
      • getTestReport

        Optional<byte[]> getTestReport​(RunId id)
        Returns the test report og the given deployment job, if present
      • putTestReport

        void putTestReport​(RunId id,
                           byte[] report)
        Stores the test report for the given deployment job
      • delete

        void delete​(RunId id)
        Deletes the run logs and test report for the given deployment job.
      • delete

        void delete​(com.yahoo.config.provision.ApplicationId id)
        Deletes all data associated with the given application.