Class TestRunsCache


  • public class TestRunsCache
    extends Object
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • calculateSize

        public int calculateSize()
      • put

        @Nullable
        public STestRun put​(String buildTypeId,
                            Long testNameId,
                            @Nullable
                            String branchName,
                            @NotNull
                            STestRun testRun)
        Adds or updates a test run in the cache for a given build type ID, test name ID, and branch name.
        Returns:
        the previous test run associated with the given branch name, or null if no previous test run exists
      • clear

        public void clear()
      • remove

        public void remove​(String buildTypeId,
                           Long testNameId,
                           @Nullable
                           String branchName)
      • getStatusText

        public String getStatusText()