Index

A D E G I L O P Q R T 
All Classes and Interfaces|All Packages

A

ApiKeyResolver - Class in io.root.patcher
Resolves the Root.io API key from the environment, JVM system properties, or a .env file.
ApiKeyResolver() - Constructor for class io.root.patcher.ApiKeyResolver
Creates a resolver that reads environment variables via System.getenv(java.lang.String).
apply(Project) - Method in class io.root.patcher.RootIoPatcherPlugin
 

D

DepCache - Class in io.root.patcher
SHA-1-keyed JSON file cache for Root.io API responses, stored under .gradle/rootio-cache/.
DepCache() - Constructor for class io.root.patcher.DepCache
 

E

execute(ComponentMetadataContext) - Method in class io.root.patcher.RootIoCapabilityRule
 

G

getAllowInsecurePkgRepo() - Method in class io.root.patcher.RootIoExtension
Allow plain HTTP for the pkg repository.
getApiKey() - Method in class io.root.patcher.RootIoExtension
Root.io API key (required).
getApiKey() - Method in interface io.root.patcher.RootIoValueSource.Parameters
 
getApiUrl() - Method in class io.root.patcher.RootIoExtension
Root.io API base URL.
getApiUrl() - Method in interface io.root.patcher.RootIoValueSource.Parameters
 
getCoords() - Method in interface io.root.patcher.RootIoValueSource.Parameters
 
getMaxRetries() - Method in class io.root.patcher.RootIoExtension
Max number of retry attempts on transient failures.
getMaxRetries() - Method in interface io.root.patcher.RootIoValueSource.Parameters
 
getPkgPassword() - Method in class io.root.patcher.RootIoExtension
Password for the pkg Maven repository.
getPkgUrl() - Method in class io.root.patcher.RootIoExtension
Root.io package registry Maven repository URL.
getPkgUsername() - Method in class io.root.patcher.RootIoExtension
Username for the pkg Maven repository.
getRetryBaseDelayMs() - Method in class io.root.patcher.RootIoExtension
Base delay in milliseconds for exponential backoff between retries.
getRetryBaseDelayMs() - Method in interface io.root.patcher.RootIoValueSource.Parameters
 
getRootDirPath() - Method in interface io.root.patcher.RootIoValueSource.Parameters
 
getTtlHours() - Method in class io.root.patcher.RootIoExtension
Cache TTL in hours.
getTtlHours() - Method in interface io.root.patcher.RootIoValueSource.Parameters
 

I

io.root.patcher - package io.root.patcher
 

L

lookup(String, File, long, Supplier<String>) - Static method in class io.root.patcher.DepCache
Look up the patched coordinates for coords from the local cache.

O

obtain() - Method in class io.root.patcher.RootIoValueSource
 

P

PkgRepoCredentialResolver - Class in io.root.patcher
Resolves credentials for the pkg Maven repository.
PkgRepoCredentialResolver() - Constructor for class io.root.patcher.PkgRepoCredentialResolver
 

Q

query(String, String, String) - Method in class io.root.patcher.RootIoClient
Query the Root.io API for a patch for the given dependency, with exponential backoff retries.

R

resolve(RootIoExtension, ApiKeyResolver, File) - Static method in class io.root.patcher.PkgRepoCredentialResolver
Returns an Action that applies credentials to a Gradle PasswordCredentials, or null if no credentials should be used (anonymous or file:// repo).
resolve(File) - Method in class io.root.patcher.ApiKeyResolver
Resolves the Root.io API key from available sources in ascending priority order: .env file < system property < environment variable.
RootDependency - Class in io.root.patcher
Represents a Maven dependency as separate group, name, and version components.
RootDependency(String) - Constructor for class io.root.patcher.RootDependency
Parses a Maven GAV string of the form group:artifact:version.
RootDependency(String, String, String) - Constructor for class io.root.patcher.RootDependency
 
RootIoCapabilityRule - Class in io.root.patcher
For every io.root.<G>:<A>:<V>-root.io.N component Gradle resolves metadata for, declare a secondary capability matching the upstream coordinate the patched artifact substitutes for: (<G>, <A>, <V>).
RootIoCapabilityRule() - Constructor for class io.root.patcher.RootIoCapabilityRule
 
RootIoClient - Class in io.root.patcher
HTTP client for querying the Root.io /v3/analyze/maven API, with exponential backoff retries.
RootIoClient(int, long) - Constructor for class io.root.patcher.RootIoClient
Creates a client with the given retry settings and exponential backoff.
RootIoExtension - Class in io.root.patcher
Gradle extension that exposes rootio { } configuration block.
RootIoExtension() - Constructor for class io.root.patcher.RootIoExtension
 
RootIoPatcherPlugin - Class in io.root.patcher
Gradle plugin that intercepts dependency resolution and substitutes vulnerable artifacts with Root.io patches.
RootIoPatcherPlugin() - Constructor for class io.root.patcher.RootIoPatcherPlugin
 
RootIoValueSource - Class in io.root.patcher
Gradle ValueSource that resolves a patched dependency coordinate for a given GAV string, using a local cache backed by DepCache and the Root.io API via RootIoClient.
RootIoValueSource() - Constructor for class io.root.patcher.RootIoValueSource
 
RootIoValueSource.Parameters - Interface in io.root.patcher
Input parameters for RootIoValueSource.

T

toBuildTarget() - Method in class io.root.patcher.RootDependency
Returns a map with group, name, and version keys, suitable for passing to Gradle's useTarget.
A D E G I L O P Q R T 
All Classes and Interfaces|All Packages