BasicSSHUserPrivateKey
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
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
in Generic at line 91
string
getScope()
getScope
in Generic at line 101
string
getId()
getId
in Generic at line 111
string
getDescription()
getDescription
in Generic at line 122
UsernamePassword
setId(string $id)
setId
in Generic at line 134
UsernamePassword
setDescription(string $description)
setDescription
in Generic at line 144
string
asJSON()
Json
at line 91
array
toArray()
Array
at line 70
array
getPrivateKeySource()
getPrivateKeySource
at line 81
BasicSSHUserPrivateKey
setPrivateKeySource(array $privateKeySource)
setPrivateKeySource