Class MockRunDataStore

    • Constructor Detail

      • MockRunDataStore

        public MockRunDataStore()
    • Method Detail

      • get

        public Optional<byte[]> get​(RunId id)
        Description copied from interface: RunDataStore
        Returns the run logs of the given deployment job, if existent.
        Specified by:
        get in interface RunDataStore
      • put

        public void put​(RunId id,
                        byte[] log)
        Description copied from interface: RunDataStore
        Stores the given log for the given deployment job.
        Specified by:
        put in interface RunDataStore
      • putTestReport

        public void putTestReport​(RunId id,
                                  byte[] report)
        Description copied from interface: RunDataStore
        Stores the test report for the given deployment job
        Specified by:
        putTestReport in interface RunDataStore
      • delete

        public void delete​(RunId id)
        Description copied from interface: RunDataStore
        Deletes the run logs and test report for the given deployment job.
        Specified by:
        delete in interface RunDataStore
      • delete

        public void delete​(com.yahoo.config.provision.ApplicationId id)
        Description copied from interface: RunDataStore
        Deletes all data associated with the given application.
        Specified by:
        delete in interface RunDataStore