public class UsernamePasswordCredentials extends SharedCredentials<UsernamePasswordCredentials,UsernamePasswordCredentialsProperties>
GitRepository
) and in certain tasks.name, oid, project, TYPE
Constructor and Description |
---|
UsernamePasswordCredentials()
Create new username/password credentials.
|
UsernamePasswordCredentials(String name)
Create new username/password credentials with name.
|
Modifier and Type | Method and Description |
---|---|
protected UsernamePasswordCredentialsProperties |
build() |
UsernamePasswordCredentials |
password(String password)
Set password.
|
UsernamePasswordCredentials |
username(String username)
Set username.
|
humanReadableId, humanReadableType, name, oid, oid, project
public UsernamePasswordCredentials()
public UsernamePasswordCredentials(String name)
name
- name of the credentials.public UsernamePasswordCredentials username(String username)
public UsernamePasswordCredentials password(String password)
protected UsernamePasswordCredentialsProperties build()
build
in class SharedCredentials<UsernamePasswordCredentials,UsernamePasswordCredentialsProperties>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.