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)
          Indexes the build result
 long optimize()
           
 long reindexAll()
          Reindexes all test results.
 void reIndexBuildResults(BuildResults result, BuildResultsSummary summary, 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)
                      throws java.lang.Exception
Indexes the build result

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

reIndexBuildResults

void reIndexBuildResults(@NotNull
                         BuildResults result,
                         @NotNull
                         BuildResultsSummary summary,
                         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 © 2008 Atlassian Pty Ltd. All Rights Reserved.