Class RepositoryConfiguration
java.lang.Object
org.springframework.boot.cli.compiler.grape.RepositoryConfiguration
The configuration of a repository.
- Since:
 - 1.0.0
 - Author:
 - Andy Wilkinson
 
- 
Constructor Summary
ConstructorsConstructorDescriptionRepositoryConfiguration(String name, URI uri, boolean snapshotsEnabled) Creates a newRepositoryConfigurationinstance. - 
Method Summary
 
- 
Constructor Details
- 
RepositoryConfiguration
Creates a newRepositoryConfigurationinstance.- Parameters:
 name- the name of the repositoryuri- the uri of the repositorysnapshotsEnabled-trueif the repository should enable access to snapshots,falseotherwise
 
 - 
 - 
Method Details
- 
getName
Return the name of the repository.- Returns:
 - the repository name
 
 - 
getUri
Return the URI of the repository.- Returns:
 - the repository URI
 
 - 
getSnapshotsEnabled
public boolean getSnapshotsEnabled()Return if the repository should enable access to snapshots.- Returns:
 trueif snapshot access is enabled
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -