ArtifactDetails

public class ArtifactDetails
extends Object

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


This describes the structure of the content and its descriptor as generated by the CAS tool

Summary

Nested classes

class ArtifactDetails.ArtifactFileDescriptor

 

Fields

public String artifact

public details

Public constructors

ArtifactDetails()

Public methods

static diffContents(ArtifactDetails base, ArtifactDetails current)

Obtain the list of modification between a base and the current build contents.

static ArtifactDetails parseFile(File input, String targetArtifact, String baseBuildId, String currentBuildId)

Parses cas_content_details.json and extract information for the entry considered.

static ArtifactDetails parseFile(File input, String targetArtifact)

Fields

artifact

public String artifact

details

public  details

Public constructors

ArtifactDetails

public ArtifactDetails ()

Public methods

diffContents

public static  diffContents (ArtifactDetails base, 
                ArtifactDetails current)

Obtain the list of modification between a base and the current build contents.

Parameters
base ArtifactDetails

current ArtifactDetails

Returns

parseFile

public static ArtifactDetails parseFile (File input, 
                String targetArtifact, 
                String baseBuildId, 
                String currentBuildId)

Parses cas_content_details.json and extract information for the entry considered.

Parameters
input File

targetArtifact String

baseBuildId String

currentBuildId String

Returns
ArtifactDetails

parseFile

public static ArtifactDetails parseFile (File input, 
                String targetArtifact)

Parameters
input File

targetArtifact String

Returns
ArtifactDetails