@groovy.transform.CompileStatic class AbstractAuthenticationSupportedRepository extends Object
Base class for creating repository types that optionally support authentication.
| Constructor and description |
|---|
protected AbstractAuthenticationSupportedRepository
(org.ysb33r.grolifant.api.core.ProjectOperations po)Base class constructor insance |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
authentication(Action<? super AuthenticationContainer> action) |
|
void |
content(Action action)This is currently a NOOP. |
|
void |
credentials(Action<? super PasswordCredentials> action) |
|
void |
credentials(Class<? extends Credentials> aClass)Implements the repository method added in Gradle 6.6. |
<T extends Credentials> |
void |
credentials(Class<T> aClass, Action<? super T> action) |
|
AuthenticationContainer |
getAuthentication() |
|
PasswordCredentials |
getCredentials() |
<T extends Credentials> |
T |
getCredentials(Class<T> aClass) |
|
boolean |
hasCredentials()Check is any credentials has been accessed. |
Repository name
Base class constructor insance
po - org.ysb33r.grolifant.api.core.ProjectOperationsImplements the repository method added in Gradle 6.6.
Check is any credentials has been accessed.
true is any credentials has been accessedGroovy Documentation