SkipFeature
public
class
SkipFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.result.skipped.SkipFeature |
一项允许访问部分 SkipManager 信息的功能。
摘要
常量 | |
|---|---|
String |
DELIMITER_NAME
|
String |
IMAGE_DIGESTS
|
String |
PRESUBMIT
|
String |
SKIPPED_MODULES
|
String |
SKIP_FEATURE
|
公共构造函数 | |
|---|---|
SkipFeature()
|
|
公共方法 | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
根据请求返回 |
String
|
getName()
功能名称。 |
static
SkipContext
|
getSkipContext()
根据需要提取并填充未更改的模块。 |
TestInformation
|
getTestInformation()
|
static
|
parseDigests(String delimiter, String serializedString)
|
void
|
setConfiguration(IConfiguration configuration)
注入正在使用的 |
void
|
setTestInformation(TestInformation testInformation)
|
常量
DELIMITER_NAME
public static final String DELIMITER_NAME
常量值: "delimiter"
IMAGE_DIGESTS
public static final String IMAGE_DIGESTS
常量值: "imageDigests"
提交前
public static final String PRESUBMIT
常量值: "presubmit"
SKIPPED_MODULES
public static final String SKIPPED_MODULES
常量值: "skipModules"
SKIP_FEATURE
public static final String SKIP_FEATURE
常量值: "skipFeature"
公共构造函数
SkipFeature
public SkipFeature ()
公共方法
execute
public FeatureResponse execute (FeatureRequest request)
根据请求返回 FeatureResponse。
| 参数 | |
|---|---|
request |
FeatureRequest |
| 返回 | |
|---|---|
FeatureResponse |
|
parseDigests
public staticparseDigests (String delimiter, String serializedString)
| 参数 | |
|---|---|
delimiter |
String |
serializedString |
String |
| 返回 | |
|---|---|
|
|
| 抛出 | |
|---|---|
InvalidProtocolBufferException |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
注入正在使用的 IConfiguration。
| 参数 | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| 参数 | |
|---|---|
testInformation |
TestInformation |