SkipContext
public
class
SkipContext
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.result.skipped.SkipContext
|
Representation of the context surrounding decision about skipping or caching of results.
Summary
Public constructors |
SkipContext(boolean presubmit, unchangedModules, imageToDigest)
|
Public constructors
SkipContext
public SkipContext (boolean presubmit,
unchangedModules,
imageToDigest)
Parameters |
presubmit |
boolean |
unchangedModules |
|
imageToDigest |
|
Public methods
getImageToDigest
public getImageToDigest ()
shouldSkipModule
public boolean shouldSkipModule (String moduleName)
Only skip unchanged modules in presubmit. At this stage the unchanged modules are known
(based on unchanged device image and test artifacts)
Parameters |
moduleName |
String |
shouldUseCache
public boolean shouldUseCache ()
Reports whether to use caching or not.