SkipFeature
public
class
SkipFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.result.skipped.SkipFeature |
Ein Feature, mit dem auf einige Informationen von SkipManager
zugegriffen werden kann.
Zusammenfassung
Konstanten | |
|---|---|
String |
DELIMITER_NAME
|
String |
IMAGE_DIGESTS
|
String |
PRESUBMIT
|
String |
SKIPPED_MODULES
|
String |
SKIP_FEATURE
|
Öffentliche Konstruktoren | |
|---|---|
SkipFeature()
|
|
Öffentliche Methoden | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
Gibt eine |
String
|
getName()
Name des Features. |
static
SkipContext
|
getSkipContext()
Ruft unveränderte Module ab und füllt sie bei Bedarf aus. |
TestInformation
|
getTestInformation()
|
static
Map<String, Digest>
|
parseDigests(String delimiter, String serializedString)
|
void
|
setConfiguration(IConfiguration configuration)
Fügt die verwendete |
void
|
setTestInformation(TestInformation testInformation)
|
Konstanten
DELIMITER_NAME
public static final String DELIMITER_NAME
Constant Value: "delimiter"
IMAGE_DIGESTS
public static final String IMAGE_DIGESTS
Constant Value: "imageDigests"
PRESUBMIT
public static final String PRESUBMIT
Constant Value: "presubmit"
SKIPPED_MODULES
public static final String SKIPPED_MODULES
Constant Value: "skipModules"
SKIP_FEATURE
public static final String SKIP_FEATURE
Constant Value: "skipFeature"
Öffentliche Konstruktoren
SkipFeature
public SkipFeature ()
Öffentliche Methoden
execute
public FeatureResponse execute (FeatureRequest request)
Gibt eine FeatureResponse basierend auf der Anfrage zurück.
| Parameter | |
|---|---|
request |
FeatureRequest |
| Gibt Folgendes zurück: | |
|---|---|
FeatureResponse |
|
getName
public String getName ()
Name des Features. Muss mit FeatureRequest.getName()
übereinstimmen.
| Gibt Folgendes zurück: | |
|---|---|
String |
|
getSkipContext
public static SkipContext getSkipContext ()
Ruft unveränderte Module ab und füllt sie bei Bedarf aus.
| Gibt Folgendes zurück: | |
|---|---|
SkipContext |
|
getTestInformation
public TestInformation getTestInformation ()
| Gibt Folgendes zurück: | |
|---|---|
TestInformation |
|
parseDigests
public static Map<String, Digest> parseDigests (String delimiter,
String serializedString)| Parameter | |
|---|---|
delimiter |
String |
serializedString |
String |
| Gibt Folgendes zurück: | |
|---|---|
Map<String, Digest> |
|
| Löst aus | |
|---|---|
InvalidProtocolBufferException |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Fügt die verwendete IConfiguration ein.
| Parameter | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| Parameter | |
|---|---|
testInformation |
TestInformation |