public class RepositoryUtils extends Object
Constructor and Description |
---|
RepositoryUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getLayout(ArtifactRepository repo) |
static org.eclipse.aether.repository.WorkspaceRepository |
getWorkspace(org.eclipse.aether.RepositorySystemSession session) |
static org.eclipse.aether.artifact.ArtifactType |
newArtifactType(String id,
ArtifactHandler handler) |
static org.eclipse.aether.artifact.ArtifactTypeRegistry |
newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) |
static ArtifactHandler |
newHandler(org.eclipse.aether.artifact.Artifact artifact) |
static boolean |
repositoriesEquals(List<org.eclipse.aether.repository.RemoteRepository> r1,
List<org.eclipse.aether.repository.RemoteRepository> r2) |
static int |
repositoriesHashCode(List<org.eclipse.aether.repository.RemoteRepository> repositories) |
static Artifact |
toArtifact(org.eclipse.aether.artifact.Artifact artifact) |
static org.eclipse.aether.artifact.Artifact |
toArtifact(Artifact artifact) |
static Collection<org.eclipse.aether.artifact.Artifact> |
toArtifacts(Collection<Artifact> artifactsToConvert) |
static void |
toArtifacts(Collection<Artifact> artifacts,
Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes,
List<String> trail,
org.eclipse.aether.graph.DependencyFilter filter) |
static org.eclipse.aether.graph.Dependency |
toDependency(Artifact artifact,
Collection<Exclusion> exclusions) |
static org.eclipse.aether.graph.Dependency |
toDependency(Dependency dependency,
org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes) |
static org.eclipse.aether.repository.RemoteRepository |
toRepo(ArtifactRepository repo) |
static List<org.eclipse.aether.repository.RemoteRepository> |
toRepos(List<ArtifactRepository> repos) |
public static Artifact toArtifact(org.eclipse.aether.artifact.Artifact artifact)
public static void toArtifacts(Collection<Artifact> artifacts, Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes, List<String> trail, org.eclipse.aether.graph.DependencyFilter filter)
public static org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact)
public static org.eclipse.aether.graph.Dependency toDependency(Artifact artifact, Collection<Exclusion> exclusions)
public static List<org.eclipse.aether.repository.RemoteRepository> toRepos(List<ArtifactRepository> repos)
public static org.eclipse.aether.repository.RemoteRepository toRepo(ArtifactRepository repo)
public static String getLayout(ArtifactRepository repo)
public static ArtifactHandler newHandler(org.eclipse.aether.artifact.Artifact artifact)
public static org.eclipse.aether.artifact.ArtifactType newArtifactType(String id, ArtifactHandler handler)
public static org.eclipse.aether.graph.Dependency toDependency(Dependency dependency, org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes)
public static org.eclipse.aether.artifact.ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)
public static Collection<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<Artifact> artifactsToConvert)
public static org.eclipse.aether.repository.WorkspaceRepository getWorkspace(org.eclipse.aether.RepositorySystemSession session)
public static boolean repositoriesEquals(List<org.eclipse.aether.repository.RemoteRepository> r1, List<org.eclipse.aether.repository.RemoteRepository> r2)
public static int repositoriesHashCode(List<org.eclipse.aether.repository.RemoteRepository> repositories)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.