ContentAnalysisResults

public class ContentAnalysisResults
extends Object

java.lang.Object
   ↳ com.android.tradefed.build.content.ContentAnalysisResults


Summary of the content analysis.

Summary

Public constructors

ContentAnalysisResults()

Public methods

ContentAnalysisResults addChangedBuildKey(long count)
ContentAnalysisResults addModifiedFile()
ContentAnalysisResults addModifiedModule()
ContentAnalysisResults addModifiedSharedFolder(int modifCount)
ContentAnalysisResults addUnchangedFile()
ContentAnalysisResults addUnchangedModule(String moduleBaseName)
boolean hasAnyBuildKeyChanges()
boolean hasAnyTestsChange()

Returns true if any tests artifact was modified between the base build and current build.

static ContentAnalysisResults mergeResults( results)

Merges a list of multiple analysis together.

String toString()

Public constructors

ContentAnalysisResults

public ContentAnalysisResults ()

Public methods

addChangedBuildKey

public ContentAnalysisResults addChangedBuildKey (long count)

Parameters
count long

Returns
ContentAnalysisResults

addModifiedFile

public ContentAnalysisResults addModifiedFile ()

Returns
ContentAnalysisResults

addModifiedModule

public ContentAnalysisResults addModifiedModule ()

Returns
ContentAnalysisResults

addModifiedSharedFolder

public ContentAnalysisResults addModifiedSharedFolder (int modifCount)

Parameters
modifCount int

Returns
ContentAnalysisResults

addUnchangedFile

public ContentAnalysisResults addUnchangedFile ()

Returns
ContentAnalysisResults

addUnchangedModule

public ContentAnalysisResults addUnchangedModule (String moduleBaseName)

Parameters
moduleBaseName String

Returns
ContentAnalysisResults

hasAnyBuildKeyChanges

public boolean hasAnyBuildKeyChanges ()

Returns
boolean

hasAnyTestsChange

public boolean hasAnyTestsChange ()

Returns true if any tests artifact was modified between the base build and current build.

Returns
boolean

mergeResults

public static ContentAnalysisResults mergeResults ( results)

Merges a list of multiple analysis together.

Parameters
results

Returns
ContentAnalysisResults

toString

public String toString ()

Returns
String