ContentMerkleTree

public class ContentMerkleTree
extends Object

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


Compute a MerkleTree from the content information.

Summary

Public constructors

ContentMerkleTree()

Public methods

static Digest buildCommonLocationFromContext(ContentAnalysisContext context)

Builds a merkle tree and returns the root digest from the common location information

static Digest buildTestsDirFromContext(ContentAnalysisContext context, List<String> discoveredModule, AnalysisHeuristic analysisLevel)

Public constructors

ContentMerkleTree

public ContentMerkleTree ()

Public methods

buildCommonLocationFromContext

public static Digest buildCommonLocationFromContext (ContentAnalysisContext context)

Builds a merkle tree and returns the root digest from the common location information

Parameters
context ContentAnalysisContext

Returns
Digest

buildTestsDirFromContext

public static Digest buildTestsDirFromContext (ContentAnalysisContext context, 
                List<String> discoveredModule, 
                AnalysisHeuristic analysisLevel)

Parameters
context ContentAnalysisContext

discoveredModule List

analysisLevel AnalysisHeuristic

Returns
Digest