public final class RepositoryConfiguration extends java.lang.Object
The configuration of a repository.
Constructor and description |
---|
RepositoryConfiguration(java.lang.String name, java.net.URI uri, boolean snapshotsEnabled) Creates a new RepositoryConfiguration instance. |
Type Params | Return Type | Name and description |
---|---|---|
|
public boolean |
equals(java.lang.Object obj) |
|
public java.lang.String |
getName() Return the name of the repository. |
|
public boolean |
getSnapshotsEnabled() Return if the repository should enable access to snapshots. |
|
public java.net.URI |
getUri() Return the URI of the repository. |
|
public int |
hashCode() |
|
public java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates a new RepositoryConfiguration
instance.
name
- the name of the repositoryuri
- the uri of the repositorysnapshotsEnabled
- true
if the repository should enable access to
snapshots, false
otherwiseReturn the name of the repository.
Return if the repository should enable access to snapshots.
true
if snapshot access is enabledReturn the URI of the repository.