class Credentials extends Model

Credentials

Sammlung der Zugangsdaten in einer Domäne von Jenkins. Darüber lässt sich für die Konfiguration die ID der zugangsdaten ermitteln.

Properties

protected Credential> $credentials
protected string $description
protected string $displayName
protected string $fullDisplayName
protected string $fullName
protected boolean $global
protected string $urlName

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
Credential>
getCredentials()

Zugangsdatenliste

string
getDescription()

Beschreibung

string
getDisplayName()

getDisplayName

string
getFullDisplayName()

getFullDisplayName

string
getFullName()

getFullName

boolean
getGlobal()

getGlobal

string
getUrlName()

getUrlName

setCredentials(Collection $credentials)

Zugangsdatenliste setzen

setDescription(string $description)

Beschreibung

setDisplayName(string $displayName)

setDisplayName

setFullDisplayName(string $fullDisplayName)

setFullDisplayName

setFullName(string $fullName)

setFullName

setGlobal(boolean $global)

setGlobal

setUrlName(string $urlName)

setUrlName

static Credentials
getInstanceFromArray(Array $array)

getInstanceFromArray

Details

in Model at line 45
static Model getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

Parameters

string $json Json Zeichenkette

Return Value

Model Datenobjekt

Exceptions

TypeException Wenn die JSON-Zeichenkette kein Array abbildet oder Fehlerhaft ist

at line 82
Credential> getCredentials()

Zugangsdatenliste

Return Value

Credential> Zugangsdatenliste

at line 91
string getDescription()

Beschreibung

Return Value

string Beschreibung

at line 100
string getDisplayName()

getDisplayName

Return Value

string

at line 109
string getFullDisplayName()

getFullDisplayName

Return Value

string

at line 118
string getFullName()

getFullName

Return Value

string

at line 127
boolean getGlobal()

getGlobal

Return Value

boolean

at line 136
string getUrlName()

getUrlName

Return Value

string

at line 147
Credentials setCredentials(Collection $credentials)

Zugangsdatenliste setzen

Parameters

Collection $credentials Zugangsdatenliste

Return Value

Credentials

at line 159
Credentials setDescription(string $description)

Beschreibung

Parameters

string $description Beschreibung

Return Value

Credentials

at line 171
Credentials setDisplayName(string $displayName)

setDisplayName

Parameters

string $displayName

Return Value

Credentials

at line 183
Credentials setFullDisplayName(string $fullDisplayName)

setFullDisplayName

Parameters

string $fullDisplayName

Return Value

Credentials

at line 195
Credentials setFullName(string $fullName)

setFullName

Parameters

string $fullName

Return Value

Credentials

at line 207
Credentials setGlobal(boolean $global)

setGlobal

Parameters

boolean $global

Return Value

Credentials

at line 219
Credentials setUrlName(string $urlName)

setUrlName

Parameters

string $urlName

Return Value

Credentials

at line 231
static Credentials getInstanceFromArray(Array $array)

getInstanceFromArray

Parameters

Array $array Daten

Return Value

Credentials