IKernelBuildInfo

public interface IKernelBuildInfo
implements IBuildInfo

com.android.tradefed.build.IKernelBuildInfo
Known Indirect Subclasses
KernelBuildInfo A IBuildInfo that represents a kernel build. 
KernelDeviceBuildInfo A IBuildInfo that represents a kernel build paired with a complete Android build. 


A IBuildInfo that represents a kernel build.

Summary

Public methods

abstract long getCommitTime()

Get the git commit time.

abstract File getKernelFile()

Get the kernel file.

abstract String getKernelVersion()

Get the kernel file version.

abstract String getSha1()

Gets the git sha1.

abstract String getShortSha1()

Gets the git short sha1.

abstract void setCommitTime(long time)

Sets the git commit time for the change.

abstract void setKernelFile(File kernelFile, String version)

Set the kernel file

abstract void setSha1(String sha1)

Sets the git sha1.

abstract void setShortSha1(String shortSha1)

Sets the git short sha1.

Public methods

getCommitTime

long getCommitTime ()

Get the git commit time.

Returns
long the git commit time in seconds since the Unix epoch.

getKernelFile

File getKernelFile ()

Get the kernel file.

Returns
File the kernel file

getKernelVersion

String getKernelVersion ()

Get the kernel file version.

Returns
String the kernel file version

getSha1

String getSha1 ()

Gets the git sha1.

Returns
String the git sha1

getShortSha1

String getShortSha1 ()

Gets the git short sha1.

Returns
String the git short sha1

setCommitTime

void setCommitTime (long time)

Sets the git commit time for the change.

Parameters
time long: the time in seconds since the Unix epoch.

setKernelFile

void setKernelFile (File kernelFile, 
                String version)

Set the kernel file

Parameters
version String

setSha1

void setSha1 (String sha1)

Sets the git sha1.

Parameters
sha1 String: the git sha1

setShortSha1

void setShortSha1 (String shortSha1)

Sets the git short sha1.

Parameters
shortSha1 String: the git short sha1