Package: org.grails.cli.profile.repository

## [Groovy] Class GrailsRepositoryConfiguration

- org.grails.cli.profile.repository.GrailsRepositoryConfiguration

- The configuration of a repository. See org.springframework.boot.cli.compiler.grape.RepositoryConfiguration Created to support configuration with authentication

  Authors:
    James Kleeh
  Since:
    3.2

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.lang.String` | `name`
    `java.lang.String` | `password`
    `boolean` | `snapshotsEnabled`
    `java.net.URI` | `uri`
    `java.lang.String` | `username`

  - ### Constructor Summary

    Constructors
    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.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `boolean` | `equals(java.lang.Object obj)`
    `` | `boolean` | `hasCredentials()`
    `` | `int` | `hashCode()`
    `` | `java.lang.String` | `toString()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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()`

- - ### Property Detail

    - #### final java.lang.String name

    - #### final java.lang.String password

    - #### final boolean snapshotsEnabled

    - #### final java.net.URI uri

    - #### final java.lang.String username

  - ### Constructor Detail

    - #### GrailsRepositoryConfiguration(java.lang.String name, java.net.URI uri, boolean snapshotsEnabled)

      Creates a new `GrailsRepositoryConfiguration` instance.

      Parameters:
        `name` - The name of the repository
        `uri` - The uri of the repository
        `snapshotsEnabled` - `true` if the repository should enable access to snapshots, `false` otherwise

    - #### GrailsRepositoryConfiguration(java.lang.String name, java.net.URI uri, boolean snapshotsEnabled, java.lang.String username, java.lang.String password)

      Creates a new `GrailsRepositoryConfiguration` instance.

      Parameters:
        `name` - The name of the repository
        `uri` - The uri of the repository
        `snapshotsEnabled` - `true` if the repository should enable access to snapshots, `false` otherwise
        `username` - The username needed to authenticate with the repository
        `password` - The password needed to authenticate with the repository

  - ### Method Detail

    - #### @java.lang.Override boolean equals(java.lang.Object obj)

    - #### boolean hasCredentials()

    - #### @java.lang.Override int hashCode()

    - #### @java.lang.Override java.lang.String toString()