Package org.eclipse.aether.internal.impl
Class SimpleLocalRepositoryManagerFactory
java.lang.Object
org.eclipse.aether.internal.impl.SimpleLocalRepositoryManagerFactory
- All Implemented Interfaces:
org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory
@Singleton
@Named("simple")
public class SimpleLocalRepositoryManagerFactory
extends Object
implements org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory
Creates local repository managers for repository type
"simple"
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionNo-arg constructor, as "simple" local repository is meant mainly for use in tests.SimpleLocalRepositoryManagerFactory
(LocalPathComposer localPathComposer) -
Method Summary
Modifier and TypeMethodDescriptionfloat
org.eclipse.aether.repository.LocalRepositoryManager
newInstance
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalRepository repository) setPriority
(float priority) Sets the priority of this component.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SimpleLocalRepositoryManagerFactory
public SimpleLocalRepositoryManagerFactory()No-arg constructor, as "simple" local repository is meant mainly for use in tests. -
SimpleLocalRepositoryManagerFactory
-
-
Method Details
-
newInstance
public org.eclipse.aether.repository.LocalRepositoryManager newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalRepository repository) throws org.eclipse.aether.repository.NoLocalRepositoryManagerException - Specified by:
newInstance
in interfaceorg.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory
- Throws:
org.eclipse.aether.repository.NoLocalRepositoryManagerException
-
getPriority
- Specified by:
getPriority
in interfaceorg.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory
-
setPriority
Sets the priority of this component.- Parameters:
priority
- The priority.- Returns:
- This component for chaining, never
null
.
-