public class IndyLocationExpander extends Object implements org.commonjava.maven.galley.spi.transport.LocationExpander
LocationExpander implementation geared to work with ArtifactStore instances. This is responsible for resolving group references
into collections of concrete store references, for the purposes of resolving content. Via its use of LocationUtils, it also is responsible
for creating Location instances for remote repositories that contain relevant authentication and SSL attributes.| Modifier | Constructor and Description |
|---|---|
protected |
IndyLocationExpander() |
|
IndyLocationExpander(StoreDataManager data) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.commonjava.maven.galley.model.Location> |
expand(Collection<T> locations)
For group references, expand into a list of concrete repository locations (hosted or remote).
|
List<org.commonjava.maven.galley.model.Location> |
expand(org.commonjava.maven.galley.model.Location... locations) |
org.commonjava.maven.galley.model.VirtualResource |
expand(org.commonjava.maven.galley.model.Resource resource)
Using the same basic logic as
expand(Collection), convert the specified Resource into a
VirtualResource that contains references to the expanded Location list. |
protected IndyLocationExpander()
public IndyLocationExpander(StoreDataManager data)
public List<org.commonjava.maven.galley.model.Location> expand(org.commonjava.maven.galley.model.Location... locations) throws org.commonjava.maven.galley.TransferException
expand in interface org.commonjava.maven.galley.spi.transport.LocationExpanderorg.commonjava.maven.galley.TransferExceptionexpand(Collection)public <T extends org.commonjava.maven.galley.model.Location> List<org.commonjava.maven.galley.model.Location> expand(Collection<T> locations) throws org.commonjava.maven.galley.TransferException
CacheOnlyLocation), lookup the corresponding RemoteRepository and use it to create a
RepositoryLocation that contains any relevant SSL, authentication, proxy, etc. attbributes.expand in interface org.commonjava.maven.galley.spi.transport.LocationExpanderorg.commonjava.maven.galley.TransferExceptionpublic org.commonjava.maven.galley.model.VirtualResource expand(org.commonjava.maven.galley.model.Resource resource)
throws org.commonjava.maven.galley.TransferException
expand(Collection), convert the specified Resource into a
VirtualResource that contains references to the expanded Location list.expand in interface org.commonjava.maven.galley.spi.transport.LocationExpanderorg.commonjava.maven.galley.TransferExceptionexpand(Collection)Copyright © 2011-2018-2018. All Rights Reserved.