abstract class Generic extends Alvine

Generic

Constants

SCOPE_GLOBAL

Gültigkeitsbereich für Jobs

SCOPE_SYSTEM

Gültigkeitsbereich nur für das Jenkins-System

Properties

protected string $staplerClass
protected string $scope
protected string $id
protected string $description

Methods

__construct(string $scope = Generic::SCOPE_GLOBAL)

Neue Instanz

string
getScope()

getScope

string
getId()

getId

string
getDescription()

getDescription

setId(string $id)

setId

setDescription(string $description)

setDescription

string
asJSON()

Json

array
toArray()

Array

Details

at line 75
__construct(string $scope = Generic::SCOPE_GLOBAL)

Neue Instanz

Parameters

string $scope Scope

at line 91
string getScope()

getScope

Return Value

string

at line 101
string getId()

getId

Return Value

string

at line 111
string getDescription()

getDescription

Return Value

string

at line 122
UsernamePassword setId(string $id)

setId

Parameters

string $id

Return Value

UsernamePassword

at line 134
UsernamePassword setDescription(string $description)

setDescription

Parameters

string $description

Return Value

UsernamePassword

at line 144
string asJSON()

Json

Return Value

string Json

at line 153
array toArray()

Array

Return Value

array Array