IKernelBuildInfo
public
interface
IKernelBuildInfo
implements
IBuildInfo
com.android.tradefed.build.IKernelBuildInfo |
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
public abstract long getCommitTime ()
Get the git commit time.
Returns | |
---|---|
long |
the git commit time in seconds since the Unix epoch. |
getKernelFile
public abstract File getKernelFile ()
Get the kernel file.
Returns | |
---|---|
File |
the kernel file |
getKernelVersion
public abstract String getKernelVersion ()
Get the kernel file version.
Returns | |
---|---|
String |
the kernel file version |
getSha1
public abstract String getSha1 ()
Gets the git sha1.
Returns | |
---|---|
String |
the git sha1 |
getShortSha1
public abstract String getShortSha1 ()
Gets the git short sha1.
Returns | |
---|---|
String |
the git short sha1 |
setCommitTime
public abstract void setCommitTime (long time)
Sets the git commit time for the change.
Parameters | |
---|---|
time |
long : the time in seconds since the Unix epoch.
|
setKernelFile
public abstract void setKernelFile (File kernelFile, String version)
Set the kernel file
Parameters | |
---|---|
version |
String |
setSha1
public abstract void setSha1 (String sha1)
Sets the git sha1.
Parameters | |
---|---|
sha1 |
String : the git sha1
|
setShortSha1
public abstract void setShortSha1 (String shortSha1)
Sets the git short sha1.
Parameters | |
---|---|
shortSha1 |
String : the git short sha1
|
Interfaces
Classes
- AppBuildInfo
- AppDeviceBuildInfo
- BootstrapBuildProvider
- BuildInfo
- BuildInfoKey
- BuildSerializedVersion
- DeviceBuildDescriptor
- DeviceBuildInfo
- DeviceFolderBuildInfo
- ExistingBuildProvider
- FileDownloadCache
- FileDownloadCacheFactory
- FileDownloadCacheWrapper
- FolderBuildInfo
- KernelBuildInfo
- KernelDeviceBuildInfo
- LocalAppBuildProvider
- LocalDeviceBuildProvider
- LocalFolderBuildProvider
- LocalSdkBuildProvider
- OtaDeviceBuildInfo
- OtatoolsBuildInfo
- OtaToolsDeviceBuildInfo
- OtaZipfileBuildProvider
- SdkBuildInfo
- SdkFolderBuildInfo
- StubBuildProvider
- VersionedFile
Enums
Exceptions