Class Utils

java.lang.Object
org.eclipse.aether.internal.impl.Utils

public final class Utils extends Object
Internal utility methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static <T> List<T> combine(Collection<? extends T> first, Collection<? extends T> second)
    • 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

      public static void appendClassLoader(StringBuilder buffer, Object component)
    • 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