public abstract static class ApkCreatorFactory.CreationData
extends java.lang.Object
ApkCreatorFactory.make(CreationData).| Modifier and Type | Class and Description |
|---|---|
static class |
ApkCreatorFactory.CreationData.Builder
An implementation of builder pattern to create a
ApkCreatorFactory.CreationData object. |
| Constructor and Description |
|---|
CreationData() |
| Modifier and Type | Method and Description |
|---|---|
static ApkCreatorFactory.CreationData.Builder |
builder() |
abstract java.io.File |
getApkPath()
Obtains the path where the APK should be located.
|
abstract java.lang.String |
getBuiltBy()
Obtains the "built-by" text for the APK.
|
abstract java.lang.String |
getCreatedBy()
Obtains the "created-by" text for the APK.
|
abstract NativeLibrariesPackagingMode |
getNativeLibrariesPackagingMode()
Returns the packaging policy that the
ApkCreator should use for native libraries. |
abstract com.google.common.base.Predicate<java.lang.String> |
getNoCompressPredicate()
Returns the predicate to decide which file paths should be uncompressed.
|
abstract com.google.common.base.Optional<SigningOptions> |
getSigningOptions()
Obtains the data used to sign the APK.
|
abstract boolean |
isIncremental()
Returns if this apk build is incremental.
|
public static ApkCreatorFactory.CreationData.Builder builder()
public abstract java.io.File getApkPath()
@Nonnull public abstract com.google.common.base.Optional<SigningOptions> getSigningOptions()
@Nullable public abstract java.lang.String getBuiltBy()
null if the default should be used@Nullable public abstract java.lang.String getCreatedBy()
null if the default should be usedpublic abstract NativeLibrariesPackagingMode getNativeLibrariesPackagingMode()
ApkCreator should use for native libraries.public abstract com.google.common.base.Predicate<java.lang.String> getNoCompressPredicate()
public abstract boolean isIncremental()
getApkPath description, we may already have an existing apk in place.
This is the case when e.g. building APK via build system and this is not the first build.
In that case the build is called incremental and internal APK data might be reused speeding
the build up.