com.atlassian.bamboo.index
Class DefaultBuildResultsIndexer
java.lang.Object
com.atlassian.bamboo.index.DefaultBuildResultsIndexer
- All Implemented Interfaces:
- BuildResultsIndexer
public class DefaultBuildResultsIndexer
- extends java.lang.Object
- implements BuildResultsIndexer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testResultManager
protected TestResultManager testResultManager
luceneConnection
protected LuceneConnection luceneConnection
buildManager
protected BuildManager buildManager
DefaultBuildResultsIndexer
public DefaultBuildResultsIndexer()
reindexAll
public long reindexAll()
throws java.lang.Exception
- Description copied from interface:
BuildResultsIndexer
- Reindexes all test results.
- Specified by:
reindexAll
in interface BuildResultsIndexer
- Returns:
- number of millis this index operation took
- Throws:
java.lang.Exception
optimize
public long optimize()
throws java.lang.Exception
- Specified by:
optimize
in interface BuildResultsIndexer
- Throws:
java.lang.Exception
indexBuild
public long indexBuild(Build build)
throws java.lang.Exception
- Description copied from interface:
BuildResultsIndexer
- Indexes the build.
- Specified by:
indexBuild
in interface BuildResultsIndexer
- Returns:
- number of millis this index operation took
- Throws:
java.lang.Exception
indexBuildResult
public long indexBuildResult(@NotNull
BuildResults buildResults,
Build plan)
throws java.lang.Exception
- Build result indexed by the build thread - need to establish session to attach back to build restuls summary.
- Specified by:
indexBuildResult
in interface BuildResultsIndexer
- Parameters:
buildResults
- plan
-
- Returns:
-
- Throws:
java.lang.Exception
reIndexBuildResults
public void reIndexBuildResults(@NotNull
BuildResults result,
@NotNull
BuildResultsSummary summary,
Build plan,
boolean includeTests)
throws java.lang.Exception
- Specified by:
reIndexBuildResults
in interface BuildResultsIndexer
- Throws:
java.lang.Exception
deIndexBuild
public void deIndexBuild(@NotNull
Build build)
throws java.lang.Exception
- Specified by:
deIndexBuild
in interface BuildResultsIndexer
- Throws:
java.lang.Exception
deIndexBuildResults
public void deIndexBuildResults(BuildResultsSummary summary,
boolean includeTests)
- Specified by:
deIndexBuildResults
in interface BuildResultsIndexer
getTestResultManager
public TestResultManager getTestResultManager()
setTestResultManager
public void setTestResultManager(TestResultManager testResultManager)
getLuceneConnection
public LuceneConnection getLuceneConnection()
setLuceneConnection
public void setLuceneConnection(LuceneConnection luceneConnection)
setBuildManager
public void setBuildManager(BuildManager buildManager)
setBuildResultsSummaryDocumentFactory
public void setBuildResultsSummaryDocumentFactory(BuildResultsSummaryDocumentFactory buildResultsSummaryDocumentFactory)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.