class Build extends Model

Build

Constants

FAILURE

Build ist fehlgeschlagen

SUCCESS

Build war erfolgreich

Properties

protected string $job
protected Action> $actions
protected Artifact> $artifacts
protected boolean $building
protected string $description
protected integer $duration
protected integer $estimatedDuration
protected mixed $executor
protected string $fullDisplayName
protected string $id
protected boolean $keepLog
protected integer $number
protected string $result
protected integer $timestamp
protected URI $url
protected string $builtOn
protected ChangeSet> $changeSet
protected Culprit> $culprits

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
__construct(string $jobName, integer $number)

Neues Objekt erstellen

Action>
getActions()

Aktionen

Artifact>
getArtifacts()

Artifakte

boolean
getBuilding()

getBuilding

string
getDescription()

getDescription

integer
getDuration()

getDuration

integer
getEstimatedDuration()

getEstimatedDuration

mixed
getExecutor()

getExecutor

string
getFullDisplayName()

getFullDisplayName

string
getId()

getId

boolean
getKeepLog()

getKeepLog

integer
getNumber()

getNumber

string
getResult()

getResult

integer
getTimestamp()

getTimestamp

URI
getUrl()

URL

string
getBuiltOn()

getBuiltOn

ChangeSet>
getChangeSet()

Änderungen

Culprit>
getCulprits()

getCulprits

setActions(Collection $actions)

Aktionen

setArtifacts(Collection $artifacts)

Artifakte

setBuilding(boolean $building)

setBuilding

setDescription(string $description)

setDescription

setDuration(integer $duration)

setDuration

setEstimatedDuration(integer $estimatedDuration)

setEstimatedDuration

setExecutor(mixed $executor)

setExecutor

setFullDisplayName(string $fullDisplayName)

setFullDisplayName

setId(string $id)

setId

setKeepLog(boolean $keepLog)

setKeepLog

setNumber(integer $number)

setNumber

setResult(string $result)

setResult

setTimestamp(integer $timestamp)

setTimestamp

setUrl(URI $url)

URL

setBuiltOn(string $builtOn)

setBuiltOn

setChangeSet(Collection $changeSet)

Änderungen

setCulprits(Collection $culprits)

setCulprits

static Build
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 146
__construct(string $jobName, integer $number)

Neues Objekt erstellen

Parameters

string $jobName Jobname
integer $number Build-Nummer

at line 158
Action> getActions()

Aktionen

Return Value

Action>

at line 169
Artifact> getArtifacts()

Artifakte

Return Value

Artifact> Artifakte

See also

Artifact

at line 178
boolean getBuilding()

getBuilding

Return Value

boolean

at line 187
string getDescription()

getDescription

Return Value

string

at line 196
integer getDuration()

getDuration

Return Value

integer

at line 205
integer getEstimatedDuration()

getEstimatedDuration

Return Value

integer

at line 214
mixed getExecutor()

getExecutor

Return Value

mixed

at line 223
string getFullDisplayName()

getFullDisplayName

Return Value

string

at line 232
string getId()

getId

Return Value

string

at line 242
boolean getKeepLog()

getKeepLog

Return Value

boolean

at line 251
integer getNumber()

getNumber

Return Value

integer

at line 260
string getResult()

getResult

Return Value

string

at line 269
integer getTimestamp()

getTimestamp

Return Value

integer

at line 278
URI getUrl()

URL

Return Value

URI

at line 287
string getBuiltOn()

getBuiltOn

Return Value

string

at line 296
ChangeSet> getChangeSet()

Änderungen

Return Value

ChangeSet>

at line 305
Culprit> getCulprits()

getCulprits

Return Value

Culprit>

at line 316
Build setActions(Collection $actions)

Aktionen

Parameters

Collection $actions

Return Value

Build

at line 330
Build setArtifacts(Collection $artifacts)

Artifakte

Parameters

Collection $artifacts

Return Value

Build

See also

Artifact

at line 342
Build setBuilding(boolean $building)

setBuilding

Parameters

boolean $building

Return Value

Build

at line 354
Build setDescription(string $description)

setDescription

Parameters

string $description

Return Value

Build

at line 366
Build setDuration(integer $duration)

setDuration

Parameters

integer $duration

Return Value

Build

at line 378
Build setEstimatedDuration(integer $estimatedDuration)

setEstimatedDuration

Parameters

integer $estimatedDuration

Return Value

Build

at line 390
Build setExecutor(mixed $executor)

setExecutor

Parameters

mixed $executor

Return Value

Build

at line 402
Build setFullDisplayName(string $fullDisplayName)

setFullDisplayName

Parameters

string $fullDisplayName

Return Value

Build

at line 414
Build setId(string $id)

setId

Parameters

string $id

Return Value

Build

at line 426
Build setKeepLog(boolean $keepLog)

setKeepLog

Parameters

boolean $keepLog

Return Value

Build

at line 438
Build setNumber(integer $number)

setNumber

Parameters

integer $number

Return Value

Build

at line 450
Build setResult(string $result)

setResult

Parameters

string $result

Return Value

Build

at line 462
Build setTimestamp(integer $timestamp)

setTimestamp

Parameters

integer $timestamp

Return Value

Build

at line 481
Build setUrl(URI $url)

URL

Parameters

URI $url

Return Value

Build

at line 493
Build setBuiltOn(string $builtOn)

setBuiltOn

Parameters

string $builtOn

Return Value

Build

at line 505
Build setChangeSet(Collection $changeSet)

Änderungen

Parameters

Collection $changeSet

Return Value

Build

at line 517
Build setCulprits(Collection $culprits)

setCulprits

Parameters

Collection $culprits

Return Value

Build

at line 529
static Build getInstanceFromArray(Array $array)

getInstanceFromArray

Parameters

Array $array

Return Value

Build