Class ApkCreatorFactory.CreationData

    • Constructor Detail

      • CreationData

        public CreationData()
    • Method Detail

      • getApkPath

        public abstract java.io.File getApkPath()
        Obtains the path where the APK should be located. If the path already exists, then the APK may be updated instead of re-created.
        Returns:
        the path that may already exist or not
      • getSigningOptions

        @Nonnull
        public abstract com.google.common.base.Optional<SigningOptions> getSigningOptions()
        Obtains the data used to sign the APK.
        Returns:
        the SigningOptions
      • getBuiltBy

        @Nullable
        public abstract java.lang.String getBuiltBy()
        Obtains the "built-by" text for the APK.
        Returns:
        the text or null if the default should be used
      • getCreatedBy

        @Nullable
        public abstract java.lang.String getCreatedBy()
        Obtains the "created-by" text for the APK.
        Returns:
        the text or null if the default should be used
      • getNativeLibrariesPackagingMode

        public abstract NativeLibrariesPackagingMode getNativeLibrariesPackagingMode()
        Returns the packaging policy that the ApkCreator should use for native libraries.
      • getNoCompressPredicate

        public abstract com.google.common.base.Predicate<java.lang.String> getNoCompressPredicate()
        Returns the predicate to decide which file paths should be uncompressed.
      • isIncremental

        public abstract boolean isIncremental()
        Returns if this apk build is incremental. As mentioned in 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.