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 © 2018 Pivotal Software, Inc.. All rights reserved.