public static class Config.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<? extends android.app.Application> |
application |
protected java.lang.String |
assetDir |
protected java.lang.String[] |
instrumentedPackages |
protected java.lang.String[] |
libraries |
protected java.lang.String |
manifest |
protected int |
maxSdk |
protected int |
minSdk |
protected java.lang.String |
packageName |
protected java.lang.String |
qualifiers |
protected java.lang.String |
resourceDir |
protected int[] |
sdk |
protected java.lang.Class<?>[] |
shadows |
Modifier and Type | Method and Description |
---|---|
Config.Implementation |
build() |
static Config.Builder |
defaults()
This returns actual default values where they exist, in the sense that we could use the values, rather than markers like
-1 or --default . |
static boolean |
isDefaultApplication(java.lang.Class<? extends android.app.Application> clazz) |
Config.Builder |
overlay(Config overlayConfig) |
Config.Builder |
setApplication(java.lang.Class<? extends android.app.Application> application) |
Config.Builder |
setAssetDir(java.lang.String assetDir) |
Config.Builder |
setInstrumentedPackages(java.lang.String[] instrumentedPackages) |
Config.Builder |
setLibraries(java.lang.String[] libraries) |
Config.Builder |
setManifest(java.lang.String manifest) |
Config.Builder |
setMaxSdk(int maxSdk) |
Config.Builder |
setMinSdk(int minSdk) |
Config.Builder |
setPackageName(java.lang.String packageName) |
Config.Builder |
setQualifiers(java.lang.String qualifiers) |
Config.Builder |
setResourceDir(java.lang.String resourceDir) |
Config.Builder |
setSdk(int... sdk) |
Config.Builder |
setShadows(java.lang.Class<?>[] shadows) |
protected int[] sdk
protected int minSdk
protected int maxSdk
protected java.lang.String manifest
protected java.lang.String qualifiers
protected java.lang.String packageName
protected java.lang.String resourceDir
protected java.lang.String assetDir
protected java.lang.Class<?>[] shadows
protected java.lang.String[] instrumentedPackages
protected java.lang.Class<? extends android.app.Application> application
protected java.lang.String[] libraries
public Builder()
public Builder(Config config)
public Config.Builder setSdk(int... sdk)
public Config.Builder setMinSdk(int minSdk)
public Config.Builder setMaxSdk(int maxSdk)
public Config.Builder setManifest(java.lang.String manifest)
public Config.Builder setQualifiers(java.lang.String qualifiers)
public Config.Builder setPackageName(java.lang.String packageName)
public Config.Builder setResourceDir(java.lang.String resourceDir)
public Config.Builder setAssetDir(java.lang.String assetDir)
public Config.Builder setShadows(java.lang.Class<?>[] shadows)
public Config.Builder setInstrumentedPackages(java.lang.String[] instrumentedPackages)
public Config.Builder setApplication(java.lang.Class<? extends android.app.Application> application)
public Config.Builder setLibraries(java.lang.String[] libraries)
public static Config.Builder defaults()
This returns actual default values where they exist, in the sense that we could use the values, rather than markers like -1
or --default
.
public Config.Builder overlay(Config overlayConfig)
public Config.Implementation build()
public static boolean isDefaultApplication(java.lang.Class<? extends android.app.Application> clazz)