class GrailsRepositoryConfiguration extends Object
The configuration of a repository. See RepositoryConfiguration Created to support configuration with authentication
| Constructor and description |
|---|
GrailsRepositoryConfiguration(String name, URI uri, boolean snapshotsEnabled)Creates a new GrailsRepositoryConfiguration instance. |
GrailsRepositoryConfiguration(String name, URI uri, boolean snapshotsEnabled, String username, String password)Creates a new GrailsRepositoryConfiguration instance. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
equals(Object obj) |
|
boolean |
hasCredentials() |
|
int |
hashCode() |
|
static int |
nullSafeHashCode(char[] array) |
|
String |
toString() |
Creates a new GrailsRepositoryConfiguration instance.
name - The name of the repositoryuri - The uri of the repositorysnapshotsEnabled - true if the repository should enable access to snapshots, false otherwise Creates a new GrailsRepositoryConfiguration instance.
name - The name of the repositoryuri - The uri of the repositorysnapshotsEnabled - true if the repository should enable access to snapshots, false otherwiseusername - The username needed to authenticate with the repositorypassword - The password needed to authenticate with the repository