class GrailsRepositoryConfiguration extends java.lang.Object
The configuration of a repository. See org.springframework.boot.cli.compiler.grape.RepositoryConfiguration Created to support configuration with authentication
Modifiers | Name | Description |
---|---|---|
private static int |
INITIAL_HASH |
|
private static int |
MULTIPLIER |
|
private java.lang.String |
name |
|
private java.lang.String |
password |
|
private boolean |
snapshotsEnabled |
|
private java.net.URI |
uri |
|
private java.lang.String |
username |
Type | Name and description |
---|---|
java.lang.String |
name |
java.lang.String |
password |
boolean |
snapshotsEnabled |
java.net.URI |
uri |
java.lang.String |
username |
Constructor and description |
---|
GrailsRepositoryConfiguration
(java.lang.String name, java.net.URI uri, boolean snapshotsEnabled) Creates a new GrailsRepositoryConfiguration instance. |
GrailsRepositoryConfiguration
(java.lang.String name, java.net.URI uri, boolean snapshotsEnabled, java.lang.String username, java.lang.String password) Creates a new GrailsRepositoryConfiguration instance. |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
equals(java.lang.Object obj) |
|
boolean |
hasCredentials() |
|
int |
hashCode() |
|
static int |
nullSafeHashCode(char[] array) |
|
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 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 repositoryGroovy Documentation