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
publicdetails
Public constructors
ArtifactDetails
public ArtifactDetails ()
Public methods
diffContents
public staticdiffContents (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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-01-26 UTC.