com.atlassian.bamboo.index
Interface BuildResultsIndexer

All Known Implementing Classes:
DefaultBuildResultsIndexer

public interface BuildResultsIndexer


Method Summary
 void deIndexBuild(Plan build)
           
 void deIndexBuildResults(ResultsSummary summary, boolean includeTests)
           
 double getApproximateTimePerResult()
          A guesstimate of how long you'd take to index an individual build result
 long indexBuild(Plan plan)
          Indexes the build.
 long indexBuildResult(ResultsSummary summary, ImmutablePlan plan)
          Indexes the build result
 long optimize()
           
 long reindexAll()
          Reindexes all test results.
 void reIndexBuildResults(ResultsSummary summary, ImmutablePlan 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(Plan plan)
                throws java.lang.Exception
Indexes the build.

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

indexBuildResult

long indexBuildResult(ResultsSummary summary,
                      ImmutablePlan plan)
                      throws java.lang.Exception
Indexes the build result

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

reIndexBuildResults

void reIndexBuildResults(@NotNull
                         ResultsSummary summary,
                         ImmutablePlan plan,
                         boolean includeTests)
                         throws java.lang.Exception
Throws:
java.lang.Exception

deIndexBuildResults

void deIndexBuildResults(ResultsSummary summary,
                         boolean includeTests)

deIndexBuild

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

optimize

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

getApproximateTimePerResult

double getApproximateTimePerResult()
A guesstimate of how long you'd take to index an individual build result

Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.