Class ManifestEntries

  • All Implemented Interfaces:
    AddsToRuleKey

    public abstract class ManifestEntries
    extends Object
    implements AddsToRuleKey
    Manifest entries to be injected into the AndroidManifest.xml file via AAPT command line flags.
    • Constructor Detail

      • ManifestEntries

        public ManifestEntries()
    • Method Detail

      • getTargetSdkVersion

        public abstract Optional<Integer> getTargetSdkVersion()
      • getPlaceholders

        public abstract Optional<com.google.common.collect.ImmutableMap<String,​String>> getPlaceholders()
      • hasAny

        public boolean hasAny()
        Returns:
        true if and only if at least one of the parameters is non-absent.
      • empty

        public static ManifestEntries empty()
        Returns:
        an empty (all items set to Optional.empty()) ManifestEntries