BuildAnalysis

public class BuildAnalysis
extends Object

java.lang.Object
   ↳ com.android.tradefed.result.skipped.BuildAnalysis


Represents the results of a single build analysis.

Summary

Public constructors

BuildAnalysis(boolean deviceImageChanged, boolean hasTestsArtifacts)

Public methods

BuildAnalysis addImageDigestMapping( imageToDigest)
void addUnchangedModules( unchangedModules)
boolean deviceImageChanged()
getImageToDigest()
getUnchangedModules()
boolean hasChangesInTestsArtifacts()
boolean hasTestsArtifacts()
static BuildAnalysis mergeReports( reports)
void setChangesInTests(boolean hasChanges)
String toString()

Public constructors

BuildAnalysis

public BuildAnalysis (boolean deviceImageChanged, 
                boolean hasTestsArtifacts)

Parameters
deviceImageChanged boolean

hasTestsArtifacts boolean

Public methods

addImageDigestMapping

public BuildAnalysis addImageDigestMapping ( imageToDigest)

Parameters
imageToDigest

Returns
BuildAnalysis

addUnchangedModules

public void addUnchangedModules ( unchangedModules)

Parameters
unchangedModules

deviceImageChanged

public boolean deviceImageChanged ()

Returns
boolean

getImageToDigest

public  getImageToDigest ()

Returns

getUnchangedModules

public  getUnchangedModules ()

Returns

hasChangesInTestsArtifacts

public boolean hasChangesInTestsArtifacts ()

Returns
boolean

hasTestsArtifacts

public boolean hasTestsArtifacts ()

Returns
boolean

mergeReports

public static BuildAnalysis mergeReports ( reports)

Parameters
reports

Returns
BuildAnalysis

setChangesInTests

public void setChangesInTests (boolean hasChanges)

Parameters
hasChanges boolean

toString

public String toString ()

Returns
String