Interface BuildPersisterDecorator

    • Method Detail

      • deleteBuildResults

        void deleteBuildResults​(PlanKey planKey,
                                long buildNumber)
                         throws PersisterException
        Remove a specific build result
        Parameters:
        planKey -
        buildNumber - The build number
        Throws:
        PersisterException
      • saveBuildResults

        void saveBuildResults​(PlanKey planKey,
                              BuildResults buildResults)
                       throws PersisterException
        Save the given build's given buildResults
        Parameters:
        planKey -
        buildResults - The build results to persist
        Throws:
        PersisterException - when failed to persist the build results
      • loadBuildResults

        @Nullable
        @Nullable BuildResults loadBuildResults​(Key planKey,
                                                int buildNumber)
                                         throws PersisterException
        Load the given build's buildNumber'th build results
        Parameters:
        planKey -
        buildNumber - The number of the build results we are interested in
        Returns:
        The buildResults
        Throws:
        PersisterException - when failed to load the build results