to top
public interface

IKernelBuildInfo

implements IBuildInfo
com.android.tradefed.build.IKernelBuildInfo
Known Indirect Subclasses

Class Overview

A IBuildInfo that represents a kernel build.

Summary

[Expand]
Inherited Constants
From interface com.android.tradefed.build.IBuildInfo
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.
[Expand]
Inherited Methods
From interface com.android.tradefed.build.IBuildInfo

Public Methods

public abstract long getCommitTime ()

Get the git commit time.

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

public abstract File getKernelFile ()

Get the kernel file.

Returns
  • the kernel file

public abstract String getKernelVersion ()

Get the kernel file version.

Returns
  • the kernel file version

public abstract String getSha1 ()

Gets the git sha1.

Returns
  • the git sha1

public abstract String getShortSha1 ()

Gets the git short sha1.

Returns
  • the git short sha1

public abstract void setCommitTime (long time)

Sets the git commit time for the change.

Parameters
time the time in seconds since the Unix epoch.

public abstract void setKernelFile (File kernelFile, String version)

Set the kernel file

public abstract void setSha1 (String sha1)

Sets the git sha1.

Parameters
sha1 the git sha1

public abstract void setShortSha1 (String shortSha1)

Sets the git short sha1.

Parameters
shortSha1 the git short sha1