SkipFeature

public class SkipFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

java.lang.Object
   ↳ com.android.tradefed.result.skipped.SkipFeature


A feature allowing to access some of the SkipManager information.

Summary

Fields

public static final String DELIMITER_NAME

public static final String IMAGE_DIGESTS

public static final String PRESUBMIT

public static final String SKIPPED_MODULES

public static final String SKIP_FEATURE

Public constructors

SkipFeature()

Public methods

FeatureResponse execute(FeatureRequest request)

Returns a FeatureResponse based on the request.

String getName()

Name of the feature.

static SkipContext getSkipContext()

Fetch and populate unchanged modules if needed.

TestInformation getTestInformation()
static parseDigests(String delimiter, String serializedString)
void setConfiguration(IConfiguration configuration)

Injects the IConfiguration in use.

void setTestInformation(TestInformation testInformation)

Fields

DELIMITER_NAME

public static final String DELIMITER_NAME

IMAGE_DIGESTS

public static final String IMAGE_DIGESTS

PRESUBMIT

public static final String PRESUBMIT

SKIPPED_MODULES

public static final String SKIPPED_MODULES

SKIP_FEATURE

public static final String SKIP_FEATURE

Public constructors

SkipFeature

public SkipFeature ()

Public methods

execute

public FeatureResponse execute (FeatureRequest request)

Returns a FeatureResponse based on the request.

Parameters
request FeatureRequest

Returns
FeatureResponse

getName

public String getName ()

Name of the feature. Must match FeatureRequest#getName().

Returns
String

getSkipContext

public static SkipContext getSkipContext ()

Fetch and populate unchanged modules if needed.

Returns
SkipContext

getTestInformation

public TestInformation getTestInformation ()

Returns
TestInformation

parseDigests

public static  parseDigests (String delimiter, 
                String serializedString)

Parameters
delimiter String

serializedString String

Returns

Throws
InvalidProtocolBufferException

setConfiguration

public void setConfiguration (IConfiguration configuration)

Injects the IConfiguration in use.

Parameters
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameters
testInformation TestInformation