ContentInformation

public class ContentInformation
extends Object

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


Represents the content for a given build target of its base and current version.

Summary

Fields

public final String baseBuildId

public final File baseContent

public final String currentBuildId

public final File currentContent

Public constructors

ContentInformation(File baseContent, String baseBuildId, File currentContent, String currentBuildId)

Public methods

void clean()
ContentInformation cloneInformation()
ContentInformation cloneInformation(File cloneFolder)

Deep copy the ContentInformation and the underlying files if they exists.

boolean isValid()

Fields

baseBuildId

public final String baseBuildId

baseContent

public final File baseContent

currentBuildId

public final String currentBuildId

currentContent

public final File currentContent

Public constructors

ContentInformation

public ContentInformation (File baseContent, 
                String baseBuildId, 
                File currentContent, 
                String currentBuildId)

Parameters
baseContent File

baseBuildId String

currentContent File

currentBuildId String

Public methods

clean

public void clean ()

cloneInformation

public ContentInformation cloneInformation ()

Returns
ContentInformation

cloneInformation

public ContentInformation cloneInformation (File cloneFolder)

Deep copy the ContentInformation and the underlying files if they exists.

Parameters
cloneFolder File

Returns
ContentInformation

isValid

public boolean isValid ()

Returns
boolean