org.modeshape.maven.spi
Class AbstractMavenUrlProvider
java.lang.Object
org.modeshape.maven.spi.AbstractMavenUrlProvider
- All Implemented Interfaces:
- MavenUrlProvider
- Direct Known Subclasses:
- JcrMavenUrlProvider
public abstract class AbstractMavenUrlProvider
- extends Object
- implements MavenUrlProvider
An abstract URL provider for Maven 2 repositories.
AbstractMavenUrlProvider
public AbstractMavenUrlProvider()
configure
public void configure(Properties properties)
- Configure this provider given the configuration properties. This method is intended to be called by the
MavenRepository
that instantiates this provider, and only once immediately after instantiation and before any calls
to MavenUrlProvider.getUrl(MavenId, ArtifactType, SignatureType, boolean)
.
- Specified by:
configure
in interface MavenUrlProvider
- Parameters:
properties
- the configuration properties
getProperties
public Properties getProperties()
- Get the properties for this provider.
- Returns:
- the properties
setProperties
public void setProperties(Properties properties)
- Parameters:
properties
- Sets properties to the specified value.
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.