public final class RepositoryConfiguration extends Object
Constructor and Description |
---|
RepositoryConfiguration(String name,
URI uri,
boolean snapshotsEnabled)
Creates a new
RepositoryConfiguration instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Return the name of the repository.
|
boolean |
getSnapshotsEnabled()
Return if the repository should enable access to snapshots.
|
URI |
getUri()
Return the URI of the repository.
|
int |
hashCode() |
String |
toString() |
public RepositoryConfiguration(String name, 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 String getName()
public URI getUri()
public boolean getSnapshotsEnabled()
true
if snapshot access is enabledCopyright © 2021 Pivotal Software, Inc.. All rights reserved.