public class RepositoryUtils extends Object
Constructor and Description |
---|
RepositoryUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getLayout(ArtifactRepository repo) |
static ArtifactType |
newArtifactType(String id,
ArtifactHandler handler) |
static ArtifactTypeRegistry |
newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) |
static ArtifactHandler |
newHandler(Artifact artifact) |
static Artifact |
toArtifact(Artifact artifact) |
static Artifact |
toArtifact(Artifact artifact) |
static Collection<Artifact> |
toArtifacts(Collection<Artifact> artifactsToConvert) |
static void |
toArtifacts(Collection<Artifact> artifacts,
Collection<? extends DependencyNode> nodes,
List<String> trail,
DependencyFilter filter) |
static Dependency |
toDependency(Artifact artifact,
Collection<Exclusion> exclusions) |
static Dependency |
toDependency(Dependency dependency,
ArtifactTypeRegistry stereotypes) |
static RemoteRepository |
toRepo(ArtifactRepository repo) |
static List<RemoteRepository> |
toRepos(List<ArtifactRepository> repos) |
public RepositoryUtils()
public static Artifact toArtifact(Artifact artifact)
public static void toArtifacts(Collection<Artifact> artifacts, Collection<? extends DependencyNode> nodes, List<String> trail, DependencyFilter filter)
public static Artifact toArtifact(Artifact artifact)
public static Dependency toDependency(Artifact artifact, Collection<Exclusion> exclusions)
public static List<RemoteRepository> toRepos(List<ArtifactRepository> repos)
public static RemoteRepository toRepo(ArtifactRepository repo)
public static String getLayout(ArtifactRepository repo)
public static ArtifactHandler newHandler(Artifact artifact)
public static ArtifactType newArtifactType(String id, ArtifactHandler handler)
public static Dependency toDependency(Dependency dependency, ArtifactTypeRegistry stereotypes)
public static ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)
public static Collection<Artifact> toArtifacts(Collection<Artifact> artifactsToConvert)
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.