public final class RepositoryConfiguration
extends java.lang.Object
Constructor and Description |
---|
RepositoryConfiguration(java.lang.String name,
java.net.URI uri,
boolean snapshotsEnabled)
Creates a new
RepositoryConfiguration instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Return the name of the repository.
|
boolean |
getSnapshotsEnabled()
Return if the repository should enable access to snapshots.
|
java.net.URI |
getUri()
Return the URI of the repository.
|
int |
hashCode() |
java.lang.String |
toString() |
public RepositoryConfiguration(java.lang.String name, java.net.URI uri, boolean snapshotsEnabled)
RepositoryConfiguration
instance.name
- the name of the repositoryuri
- the uri of the repositorysnapshotsEnabled
- true
if the repository should enable access to
snapshots, false
otherwisepublic java.lang.String getName()
public java.net.URI getUri()
public boolean getSnapshotsEnabled()
true
if snapshot access is enabledpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object