Package org.eclipse.aether.internal.impl
Class Utils
java.lang.Object
org.eclipse.aether.internal.impl.Utils
Internal utility methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendClassLoader
(StringBuilder buffer, Object component) static void
checkOffline
(RepositorySystemSession session, OfflineController offlineController, RemoteRepository repository) static <T> List
<T> combine
(Collection<? extends T> first, Collection<? extends T> second) finishMetadata
(List<? extends MetadataGenerator> generators, List<? extends Artifact> artifacts) static List
<? extends ArtifactDecorator> getArtifactDecorators
(RepositorySystemSession session, Map<String, ArtifactDecoratorFactory> artifactDecoratorFactories) static List
<? extends ArtifactGenerator> getArtifactGenerators
(RepositorySystemSession session, Map<String, ArtifactGeneratorFactory> artifactFactories, DeployRequest request) static List
<? extends ArtifactGenerator> getArtifactGenerators
(RepositorySystemSession session, Map<String, ArtifactGeneratorFactory> artifactFactories, InstallRequest request) static List
<? extends MetadataGenerator> getMetadataGenerators
(RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, DeployRequest request) static List
<? extends MetadataGenerator> getMetadataGenerators
(RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, InstallRequest request) static int
getPolicy
(RepositorySystemSession session, Artifact artifact, RemoteRepository repository) static int
getPolicy
(RepositorySystemSession session, Metadata metadata, RemoteRepository repository) prepareMetadata
(List<? extends MetadataGenerator> generators, List<? extends Artifact> artifacts)
-
Method Details
-
getArtifactDecorators
public static List<? extends ArtifactDecorator> getArtifactDecorators(RepositorySystemSession session, Map<String, ArtifactDecoratorFactory> artifactDecoratorFactories) -
getArtifactGenerators
public static List<? extends ArtifactGenerator> getArtifactGenerators(RepositorySystemSession session, Map<String, ArtifactGeneratorFactory> artifactFactories, InstallRequest request) -
getArtifactGenerators
public static List<? extends ArtifactGenerator> getArtifactGenerators(RepositorySystemSession session, Map<String, ArtifactGeneratorFactory> artifactFactories, DeployRequest request) -
getMetadataGenerators
public static List<? extends MetadataGenerator> getMetadataGenerators(RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, InstallRequest request) -
getMetadataGenerators
public static List<? extends MetadataGenerator> getMetadataGenerators(RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, DeployRequest request) -
prepareMetadata
public static List<Metadata> prepareMetadata(List<? extends MetadataGenerator> generators, List<? extends Artifact> artifacts) -
finishMetadata
public static List<Metadata> finishMetadata(List<? extends MetadataGenerator> generators, List<? extends Artifact> artifacts) -
combine
-
getPolicy
public static int getPolicy(RepositorySystemSession session, Artifact artifact, RemoteRepository repository) -
getPolicy
public static int getPolicy(RepositorySystemSession session, Metadata metadata, RemoteRepository repository) -
appendClassLoader
-
checkOffline
public static void checkOffline(RepositorySystemSession session, OfflineController offlineController, RemoteRepository repository) throws RepositoryOfflineException - Throws:
RepositoryOfflineException
-