Class PrefixedPropertiesProvider

java.lang.Object
org.jenkinsci.gradle.plugins.jpi2.accmod.PrefixedPropertiesProvider
All Implemented Interfaces:
Callable<Map<String,Object>>

public class PrefixedPropertiesProvider extends Object implements Callable<Map<String,Object>>
Extracts Gradle project properties that share a common prefix and strips that prefix, making them available as a plain map to the access-modifier checker.
  • Constructor Details

    • PrefixedPropertiesProvider

      public PrefixedPropertiesProvider(org.gradle.api.Project project, String prefix)
      Parameters:
      project - the Gradle project whose properties are scanned
      prefix - only properties with this prefix are included; the prefix is stripped from the keys
  • Method Details