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
(org.eclipse.aether.RepositorySystemSession session, OfflineController offlineController, org.eclipse.aether.repository.RemoteRepository repository) static <T> List
<T> combine
(Collection<? extends T> first, Collection<? extends T> second) static List
<org.eclipse.aether.metadata.Metadata> finishMetadata
(List<? extends MetadataGenerator> generators, List<? extends org.eclipse.aether.artifact.Artifact> artifacts) static List
<? extends org.eclipse.aether.spi.artifact.decorator.ArtifactDecorator> getArtifactDecorators
(org.eclipse.aether.RepositorySystemSession session, Map<String, org.eclipse.aether.spi.artifact.decorator.ArtifactDecoratorFactory> artifactDecoratorFactories) static List
<? extends org.eclipse.aether.spi.artifact.generator.ArtifactGenerator> getArtifactGenerators
(org.eclipse.aether.RepositorySystemSession session, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, org.eclipse.aether.deployment.DeployRequest request) static List
<? extends org.eclipse.aether.spi.artifact.generator.ArtifactGenerator> getArtifactGenerators
(org.eclipse.aether.RepositorySystemSession session, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, org.eclipse.aether.installation.InstallRequest request) static List
<? extends MetadataGenerator> getMetadataGenerators
(org.eclipse.aether.RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.deployment.DeployRequest request) static List
<? extends MetadataGenerator> getMetadataGenerators
(org.eclipse.aether.RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.installation.InstallRequest request) static int
getPolicy
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.RemoteRepository repository) static int
getPolicy
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.metadata.Metadata metadata, org.eclipse.aether.repository.RemoteRepository repository) static List
<org.eclipse.aether.metadata.Metadata> prepareMetadata
(List<? extends MetadataGenerator> generators, List<? extends org.eclipse.aether.artifact.Artifact> artifacts)
-
Method Details
-
getArtifactDecorators
public static List<? extends org.eclipse.aether.spi.artifact.decorator.ArtifactDecorator> getArtifactDecorators(org.eclipse.aether.RepositorySystemSession session, Map<String, org.eclipse.aether.spi.artifact.decorator.ArtifactDecoratorFactory> artifactDecoratorFactories) -
getArtifactGenerators
public static List<? extends org.eclipse.aether.spi.artifact.generator.ArtifactGenerator> getArtifactGenerators(org.eclipse.aether.RepositorySystemSession session, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, org.eclipse.aether.installation.InstallRequest request) -
getArtifactGenerators
public static List<? extends org.eclipse.aether.spi.artifact.generator.ArtifactGenerator> getArtifactGenerators(org.eclipse.aether.RepositorySystemSession session, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, org.eclipse.aether.deployment.DeployRequest request) -
getMetadataGenerators
public static List<? extends MetadataGenerator> getMetadataGenerators(org.eclipse.aether.RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.installation.InstallRequest request) -
getMetadataGenerators
public static List<? extends MetadataGenerator> getMetadataGenerators(org.eclipse.aether.RepositorySystemSession session, Map<String, MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.deployment.DeployRequest request) -
prepareMetadata
public static List<org.eclipse.aether.metadata.Metadata> prepareMetadata(List<? extends MetadataGenerator> generators, List<? extends org.eclipse.aether.artifact.Artifact> artifacts) -
finishMetadata
public static List<org.eclipse.aether.metadata.Metadata> finishMetadata(List<? extends MetadataGenerator> generators, List<? extends org.eclipse.aether.artifact.Artifact> artifacts) -
combine
-
getPolicy
public static int getPolicy(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.RemoteRepository repository) -
getPolicy
public static int getPolicy(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.metadata.Metadata metadata, org.eclipse.aether.repository.RemoteRepository repository) -
appendClassLoader
-
checkOffline
public static void checkOffline(org.eclipse.aether.RepositorySystemSession session, OfflineController offlineController, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.RepositoryOfflineException - Throws:
org.eclipse.aether.transfer.RepositoryOfflineException
-