Package org.commonjava.indy.content
Class IndyPathGenerator
- java.lang.Object
-
- org.commonjava.indy.content.IndyPathGenerator
-
- All Implemented Interfaces:
org.commonjava.maven.galley.spi.io.PathGenerator
@Default @ApplicationScoped public class IndyPathGenerator extends Object implements org.commonjava.maven.galley.spi.io.PathGenerator
PathGeneratorimplementation that assumes the locations it sees will beKeyedLocation, and translates them into storage locations on disk for related content.
-
-
Constructor Summary
Constructors Constructor Description IndyPathGenerator()IndyPathGenerator(Set<StoragePathCalculator> pathCalculators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFilePath(org.commonjava.maven.galley.model.ConcreteResource resource)StringgetPath(org.commonjava.maven.galley.model.ConcreteResource resource)voidpostConstruct()
-
-
-
Constructor Detail
-
IndyPathGenerator
public IndyPathGenerator()
-
IndyPathGenerator
public IndyPathGenerator(Set<StoragePathCalculator> pathCalculators)
-
-
Method Detail
-
postConstruct
@PostConstruct public void postConstruct()
-
getFilePath
public String getFilePath(org.commonjava.maven.galley.model.ConcreteResource resource)
- Specified by:
getFilePathin interfaceorg.commonjava.maven.galley.spi.io.PathGenerator
-
getPath
public String getPath(org.commonjava.maven.galley.model.ConcreteResource resource)
- Specified by:
getPathin interfaceorg.commonjava.maven.galley.spi.io.PathGenerator
-
-