class UsernamePassword extends Generic

UsernamePassword

Constants

SCOPE_GLOBAL

Gültigkeitsbereich für Jobs

SCOPE_SYSTEM

Gültigkeitsbereich nur für das Jenkins-System

Properties

protected string $staplerClass from Generic
protected string $scope from Generic
protected string $id from Generic
protected string $description from Generic
protected User $user
protected Password $password

Methods

__construct(User $user, Password $password, string $scope = self::SCOPE_GLOBAL)

Neue Instanz

string
getScope()

getScope

from Generic
string
getId()

getId

from Generic
string
getDescription()

getDescription

from Generic
setId(string $id)

setId

from Generic
setDescription(string $description)

setDescription

from Generic
string
asJSON()

Json

from Generic
array
toArray()

Array

User
getUser()

getUser

Password
getPassword()

getPassword

Details

at line 55
__construct(User $user, Password $password, string $scope = self::SCOPE_GLOBAL)

Neue Instanz

Parameters

User $user Benutzer
Password $password Passwort
string $scope Scope

in Generic at line 91
string getScope()

getScope

Return Value

string

in Generic at line 101
string getId()

getId

Return Value

string

in Generic at line 111
string getDescription()

getDescription

Return Value

string

in Generic at line 122
UsernamePassword setId(string $id)

setId

Parameters

string $id

Return Value

UsernamePassword

in Generic at line 134
UsernamePassword setDescription(string $description)

setDescription

Parameters

string $description

Return Value

UsernamePassword

in Generic at line 144
string asJSON()

Json

Return Value

string Json

at line 88
array toArray()

Array

Return Value

array Array

at line 70
User getUser()

getUser

Return Value

User

at line 79
Password getPassword()

getPassword

Return Value

Password