Class HeaderVerification

  • All Implemented Interfaces:

    public abstract class HeaderVerification
    extends Object
    implements AddsToRuleKey
    Defines how to handle headers that get included during the build but aren't explicitly tracked in any build files.
    • Constructor Detail

      • HeaderVerification

        public HeaderVerification()
    • Method Detail

      • getWhitelist

        public abstract<String> getWhitelist()
        a list of regexes which match headers which should be exempt from verification.
      • getPlatformWhitelist

        public abstract<String> getPlatformWhitelist()
        a list of regexes which match headers from the platform SDK. The path for the platforms might depend on the disk layout. Therefore, we don't want that one to be included in the rule keys.
      • getWhitelistPatterns

        protected<FasterPattern> getWhitelistPatterns()
      • isWhitelisted

        public boolean isWhitelisted​(String header)
        whether the given header has been whitelisted.