com.atlassian.bamboo.index
Interface BuildResultsIndexer

All Known Implementing Classes:
DefaultBuildResultsIndexer

public interface BuildResultsIndexer


Method Summary
 void deIndexBuild(Build build)
           
 void deIndexBuildResults(BuildResultsSummary summary, boolean includeTests)
           
 long indexBuild(Build build)
          Indexes the build.
 long indexBuildResult(BuildResults buildResults, Build plan)
          Indexes the build result
 long optimize()
           
 long reindexAll()
          Reindexes all test results.
 void reIndexBuildResults(BuildResults result, BuildResultsSummary summary, Plan plan, boolean includeTests)
           
 

Method Detail

reindexAll

long reindexAll()
                throws java.lang.Exception
Reindexes all test results.

Returns:
number of millis this index operation took
Throws:
java.lang.Exception

indexBuild

long indexBuild(Build build)
                throws java.lang.Exception
Indexes the build.

Parameters:
build -
Returns:
number of millis this index operation took
Throws:
java.lang.Exception

indexBuildResult

long indexBuildResult(BuildResults buildResults,
                      Build plan)
                      throws java.lang.Exception
Indexes the build result

Parameters:
buildResults -
plan -
Returns:
number of millis this index operation took
Throws:
java.lang.Exception

reIndexBuildResults

void reIndexBuildResults(@NotNull
                         BuildResults result,
                         @NotNull
                         BuildResultsSummary summary,
                         Plan plan,
                         boolean includeTests)
                         throws java.lang.Exception
Throws:
java.lang.Exception

deIndexBuildResults

void deIndexBuildResults(BuildResultsSummary summary,
                         boolean includeTests)

deIndexBuild

void deIndexBuild(@NotNull
                  Build build)
                  throws java.lang.Exception
Throws:
java.lang.Exception

optimize

long optimize()
              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 Atlassian. All Rights Reserved.