class BasicSSHUserPrivateKey extends Generic

BasicSSHUserPrivateKey

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 Array $privateKeySource
protected string $user

Methods

__construct(User $user, PrivateKeySource $source, 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

array
getPrivateKeySource()

getPrivateKeySource

setPrivateKeySource(array $privateKeySource)

setPrivateKeySource

Details

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

Neue Instanz

Parameters

User $user
PrivateKeySource $source
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 91
array toArray()

Array

Return Value

array Array

at line 70
array getPrivateKeySource()

getPrivateKeySource

Return Value

array

at line 81
BasicSSHUserPrivateKey setPrivateKeySource(array $privateKeySource)

setPrivateKeySource

Parameters

array $privateKeySource

Return Value

BasicSSHUserPrivateKey