Skip navigation links
A B C D E F G H I L M N R S T U V 

A

add(Artifact, String, Boolean) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
artifact - Variable in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
ArtifactProblem - Class in com.google.cloud.tools.opensource.dependencies
Problem in a Maven artifact in a dependency tree.
ArtifactProblem(Artifact, List<DependencyNode>) - Constructor for class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
Artifacts - Class in com.google.cloud.tools.opensource.dependencies
Common utilities for operating on org.eclipse.aether.artifact.Artifact objects.

B

Bom - Class in com.google.cloud.tools.opensource.dependencies
 
Bom(String, ImmutableList<Artifact>) - Constructor for class com.google.cloud.tools.opensource.dependencies.Bom
 
buildDependencyPathTree(Collection<DependencyPath>) - Static method in class com.google.cloud.tools.opensource.dependencies.DependencyTreeFormatter
Builds ListMultimap that represents a Maven dependency tree of parent-children relationship.

C

CENTRAL - Static variable in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
 
ClassFile - Class in com.google.cloud.tools.opensource.classpath
A locator for a compiled class file of className in jar to uniquely locate the class implementation in a class path.
ClassFile(Path, String) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassFile
 
ClassPathBuilder - Class in com.google.cloud.tools.opensource.classpath
Utility to build a class path (a list of jar files) through a dependency tree of Maven artifacts.
ClassPathBuilder() - Constructor for class com.google.cloud.tools.opensource.classpath.ClassPathBuilder
 
ClassPathBuilder(DependencyGraphBuilder) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassPathBuilder
 
ClassPathResult - Class in com.google.cloud.tools.opensource.classpath
Result of class path resolution with UnresolvableArtifactProblems if any.
ClassPathResult(Multimap<Path, DependencyPath>, Iterable<UnresolvableArtifactProblem>) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassPathResult
 
ClassReferenceGraph - Class in com.google.cloud.tools.opensource.classpath
Directed graph of class references.
ClassSymbol - Class in com.google.cloud.tools.opensource.classpath
Symbol for a class.
ClassSymbol(String) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassSymbol
 
com.google.cloud.tools.opensource.classpath - package com.google.cloud.tools.opensource.classpath
 
com.google.cloud.tools.opensource.dependencies - package com.google.cloud.tools.opensource.dependencies
 
compare(String, String) - Method in class com.google.cloud.tools.opensource.dependencies.VersionComparator
 
create(List<Path>, Iterable<Path>) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
 
create(Bom) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
 

D

DependencyGraph - Class in com.google.cloud.tools.opensource.dependencies
A representation of the complete non-cyclic transitive dependency tree of a Maven artifact.
DependencyGraph() - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyGraph
 
DependencyGraphBuilder - Class in com.google.cloud.tools.opensource.dependencies
Based on the Apache Maven Artifact Resolver (formerly known as Eclipse Aether).
DependencyGraphBuilder() - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
 
DependencyGraphBuilder(Iterable<String>) - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
 
DependencyGraphResult - Class in com.google.cloud.tools.opensource.dependencies
Result of dependency graph building with UnresolvableArtifactProblems if any.
dependencyPath - Variable in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
DependencyPath - Class in com.google.cloud.tools.opensource.dependencies
Path from the root to a node in a dependency tree, where a node is Artifact with scope and optional flag.
DependencyPath() - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
DependencyTreeFormatter - Class in com.google.cloud.tools.opensource.dependencies
Formats Maven artifact dependency tree.
DependencyTreeFormatter() - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyTreeFormatter
 
deriveChildSelector(DependencyCollectionContext) - Method in class com.google.cloud.tools.opensource.dependencies.FilteringZipDependencySelector
 
deriveChildSelector(DependencyCollectionContext) - Method in class com.google.cloud.tools.opensource.dependencies.NonTestDependencySelector
 
detectOsProperties() - Static method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
 

E

equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.MethodSymbol
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.SymbolProblem
 
equals(Object) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
equals(Object) - Method in class com.google.cloud.tools.opensource.dependencies.Update
 
ErrorType - Enum in com.google.cloud.tools.opensource.classpath
The kind of linkage error against a symbol reference.
ExceptionAndPath - Class in com.google.cloud.tools.opensource.dependencies
Tuple of a path in a Maven dependency graph and a RepositoryException, indicating that the DependencyNode specified at the path raises the exception.

F

FilteringZipDependencySelector - Class in com.google.cloud.tools.opensource.dependencies
Excludes artifacts with zip type.
FilteringZipDependencySelector() - Constructor for class com.google.cloud.tools.opensource.dependencies.FilteringZipDependencySelector
 
findLatestCoordinates(RepositorySystem, String, String) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Returns the latest Maven coordinates for groupId:artifactId in repositorySystem.
findSymbolProblems() - Method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
Returns SymbolProblems found in the class path and referencing classes for each problem.
findUpdates() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Returns a list of updates indicating desired updates formatted for a person to read.
findVersions(RepositorySystem, String, String) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Returns list of versions available for groupId:artifactId in repositorySystem.
formatDependencyPaths(Iterable<Path>) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns text describing dependency paths to jars in the dependency tree.
formatProblems(Iterable<ArtifactProblem>) - Static method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
Returns formatted string describing problems by removing similar problems per artifact.
formatSymbolProblems(ImmutableSetMultimap<SymbolProblem, ClassFile>) - Static method in class com.google.cloud.tools.opensource.classpath.SymbolProblem
 

G

get(int) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the artifact at ith node in the path.
getArtifact() - Method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
Returns the Maven artifact that has the problem.
getArtifactProblems() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphResult
Returns problems encountered while constructing the dependency graph.
getArtifacts() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the list of artifact in the path.
getBinaryName() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
Returns the binary name of the class as defined by the Java Language Specification and found in the .class file.
getClassPath() - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns the list of absolute paths to JAR files of resolved Maven artifacts.
getClassReferenceGraph() - Method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
 
getCompleteDependencies(Artifact) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Finds the full compile time, transitive dependency graph including duplicates and conflicting versions.
getContainingClass() - Method in class com.google.cloud.tools.opensource.classpath.SymbolProblem
Returns the class that is expected to contain the symbol.
getCoordinates() - Method in class com.google.cloud.tools.opensource.dependencies.Bom
Returns group:artifact:version.
getDependencyGraph() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphResult
 
getDependencyPaths(Path) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns the dependency path to the JAR file.
getDirectDependencies(Artifact) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Returns the non-transitive compile time dependencies of an artifact.
getHighestVersionMap() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
 
getInputStream(String, String) - Method in class com.google.cloud.tools.opensource.classpath.LinkageCheckClassPath
Returns an input stream for a resource in the class path.
getJar() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
Returns the path to the JAR file containing the class.
getLeaf() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the artifact in the leaf (the furthest node from the node) of the path.
getManagedDependencies() - Method in class com.google.cloud.tools.opensource.dependencies.Bom
Returns the artifacts found in this BOM's managedDependencies section.
getMessage(String) - Method in enum com.google.cloud.tools.opensource.classpath.ErrorType
Returns a human-friendly message explaining the error of subject.
getPath() - Method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
Returns the dependency path to the artifact from the root of the dependency tree.
getPath() - Method in class com.google.cloud.tools.opensource.dependencies.ExceptionAndPath
Returns a path from the root of dependency graph to a dependency node.
getPaths(String) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
 
getStaticLinkageCheckDependencyGraph(List<Artifact>) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Finds the full compile time, transitive dependency graph including duplicates, conflicting versions, and dependencies with 'provided' scope.
getTransitiveDependencies(Artifact) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Finds the complete transitive dependency graph as seen by Maven.

H

hashCode() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.MethodSymbol
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.SymbolProblem
 
hashCode() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
hashCode() - Method in class com.google.cloud.tools.opensource.dependencies.Update
 

I

InvalidClassFileProblem - Class in com.google.cloud.tools.opensource.dependencies
Problem describing a Maven artifact containing invalid class files.
isReachable(String) - Method in class com.google.cloud.tools.opensource.classpath.ClassReferenceGraph
Returns true if className is reachable from one of classes in entryPointJars in the graph.

L

LinkageCheckClassPath - Class in com.google.cloud.tools.opensource.classpath
Class path to load class files for LinkageChecker.
LinkageChecker - Class in com.google.cloud.tools.opensource.classpath
A tool to find linkage errors in a class path.
list() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
 

M

makeKey(Artifact) - Static method in class com.google.cloud.tools.opensource.dependencies.Artifacts
 
MavenRepositoryException - Exception in com.google.cloud.tools.opensource.dependencies
Error interacting with a remote or local Maven repository such as artifact not found.
mavenRepositoryFromUrl(String) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Returns Maven repository specified as mavenRepositoryUrl, after validating the syntax of the URL.
MethodSymbol - Class in com.google.cloud.tools.opensource.classpath
Symbol for a method of class.
MethodSymbol(String, String, String, boolean) - Constructor for class com.google.cloud.tools.opensource.classpath.MethodSymbol
 

N

newRepositorySystem() - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Creates a new system configured for file and HTTP repository resolution.
newSession(RepositorySystem) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Opens a new Maven repository session that looks for the local repository in the customary ~/.m2 directory.
NonTestDependencySelector - Class in com.google.cloud.tools.opensource.dependencies
Selects dependencies except test scope.
NonTestDependencySelector() - Constructor for class com.google.cloud.tools.opensource.dependencies.NonTestDependencySelector
 

R

readBom(Path) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
 
readBom(String) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Parse the dependencyManagement section of an artifact and return the artifacts included there.
readBom(String, List<String>) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Parse the dependencyManagement section of an artifact and return the artifacts included there.
RepositoryUtility - Class in com.google.cloud.tools.opensource.dependencies
Aether initialization.
resolve(List<Artifact>) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathBuilder
Finds jar file paths and dependency paths for Maven artifacts and their transitive dependencies to build a list of JAR files (class path).

S

selectDependency(Dependency) - Method in class com.google.cloud.tools.opensource.dependencies.FilteringZipDependencySelector
 
selectDependency(Dependency) - Method in class com.google.cloud.tools.opensource.dependencies.NonTestDependencySelector
 
shouldSkipBomMember(Artifact) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Returns true if the artifact in BOM should be skipped for checks.
size() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the length of the path.
SymbolProblem - Class in com.google.cloud.tools.opensource.classpath
A missing or incompatible symbol that causes a linkage error.
SymbolProblem(Symbol, ErrorType, ClassFile) - Constructor for class com.google.cloud.tools.opensource.classpath.SymbolProblem
 

T

toCoordinates(Artifact) - Static method in class com.google.cloud.tools.opensource.dependencies.Artifacts
Returns the artifact's Maven coordinates in the form groupId:artifactId:version.
toString() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.ClassSymbol
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.MethodSymbol
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.SymbolProblem
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.InvalidClassFileProblem
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.UnresolvableArtifactProblem
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.Update
 

U

UnresolvableArtifactProblem - Class in com.google.cloud.tools.opensource.dependencies
Problem describing unresolvable Maven artifact in a dependency tree.
UnresolvableArtifactProblem(Artifact) - Constructor for class com.google.cloud.tools.opensource.dependencies.UnresolvableArtifactProblem
Problem when Maven cannot resolve artifact in a dependency tree.
UnresolvableArtifactProblem(List<DependencyNode>) - Constructor for class com.google.cloud.tools.opensource.dependencies.UnresolvableArtifactProblem
Problem when Maven cannot resolve the artifact at the leaf of dependencyPath in a dependency tree.
Update - Class in com.google.cloud.tools.opensource.dependencies
Holder for a suggested dependency update.

V

valueOf(String) - Static method in enum com.google.cloud.tools.opensource.classpath.ErrorType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.tools.opensource.classpath.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
VersionComparator - Class in com.google.cloud.tools.opensource.dependencies
Compare semantically by version.
VersionComparator() - Constructor for class com.google.cloud.tools.opensource.dependencies.VersionComparator
 
A B C D E F G H I L M N R S T U V 
Skip navigation links

Copyright © 2018–2020 Google LLC.. All rights reserved.