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 addDeviceImageChanges(long count)
ContentAnalysisResults addImageDigestMapping(String imageFileName, Digest digest)
ContentAnalysisResults addModifiedFile()
ContentAnalysisResults addModifiedModule(String moduleBaseName)
ContentAnalysisResults addModifiedSharedFolder(int modifCount)
ContentAnalysisResults addUnchangedFile()
ContentAnalysisResults addUnchangedModule(String moduleBaseName)
getImageToDigest()
getUnchangedModules()
boolean hasAnyBuildKeyChanges()
boolean hasAnyTestsChange()

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

boolean hasDeviceImageChanges()
boolean hasSharedFolderChanges()
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

addDeviceImageChanges

public ContentAnalysisResults addDeviceImageChanges (long count)

Parameters
count long

Returns
ContentAnalysisResults

addImageDigestMapping

public ContentAnalysisResults addImageDigestMapping (String imageFileName, 
                Digest digest)

Parameters
imageFileName String

digest Digest

Returns
ContentAnalysisResults

addModifiedFile

public ContentAnalysisResults addModifiedFile ()

Returns
ContentAnalysisResults

addModifiedModule

public ContentAnalysisResults addModifiedModule (String moduleBaseName)

Parameters
moduleBaseName String

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

getImageToDigest

public  getImageToDigest ()

Returns

getUnchangedModules

public  getUnchangedModules ()

Returns

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

hasDeviceImageChanges

public boolean hasDeviceImageChanges ()

Returns
boolean

hasSharedFolderChanges

public boolean hasSharedFolderChanges ()

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