class Computer extends Model

Computer

Properties

Computer> $actions
string $displayName
Collection $executors
string $icon
string $iconClassName
boolean $idle
boolean $jnlpAgent
boolean $launchSupported
Collection $loadStatistics
boolean $manualLaunchAllowed
Monitor> $monitorData
integer $numExecutors
boolean $offline
mixed $offlineCause
string $offlineCauseReason
Collection $oneOffExecutors
boolean $temporarilyOffline

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
__construct(string $displayName)

Neues Computer-Objekt

Computer>
getActions()

Aktionen

string
getDisplayName()

getDisplayName

Collection
getExecutors()

getExecutors

string
getIcon()

getIcon

string
getIconClassName()

getIconClassName

boolean
getIdle()

getIdle

boolean
getJnlpAgent()

getJnlpAgent

boolean
getLaunchSupported()

getLaunchSupported

Collection
getLoadStatistics()

getLoadStatistics

boolean
getManualLaunchAllowed()

getManualLaunchAllowed

Monitor>
getMonitorData()

getMonitorData

integer
getNumExecutors()

getNumExecutors

boolean
isOffline()

isOffline

mixed
getOfflineCause()

getOfflineCause

string
getOfflineCauseReason()

getOfflineCauseReason

Collection
getOneOffExecutors()

getOneOffExecutors

boolean
getTemporarilyOffline()

getTemporarilyOffline

setActions(Collection $actions)

setActions

setDisplayName(string $displayName)

setDisplayName

setExecutors(Collection $executors)

setExecutors

setIcon(string $icon)

setIcon

setIconClassName(string $iconClassName)

setIconClassName

setIdle(boolean $idle)

setIdle

setJnlpAgent(boolean $jnlpAgent)

setJnlpAgent

setLaunchSupported(boolean $launchSupported)

setLaunchSupported

setLoadStatistics(Collection $loadStatistics)

setLoadStatistics

setManualLaunchAllowed(boolean $manualLaunchAllowed)

setManualLaunchAllowed

setMonitorData(ObjectMap $monitorData)

setMonitorData

setNumExecutors(integer $numExecutors)

setNumExecutors

setOffline(boolean $offline)

setOffline

setOfflineCause(mixed $offlineCause)

setOfflineCause

setOfflineCauseReason(string $offlineCauseReason)

setOfflineCauseReason

setOneOffExecutors(Collection $oneOffExecutors)

setOneOffExecutors

setTemporarilyOffline(boolean $temporarilyOffline)

setTemporarilyOffline

static ObjectMap
getMonitorMap(ArrayHelper $array)

Monitordaten aufbereiten

static Computer
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 127
__construct(string $displayName)

Neues Computer-Objekt

Parameters

string $displayName Name

at line 138
Computer> getActions()

Aktionen

Return Value

Computer>

at line 147
string getDisplayName()

getDisplayName

Return Value

string

at line 156
Collection getExecutors()

getExecutors

Return Value

Collection

at line 165
string getIcon()

getIcon

Return Value

string

at line 174
string getIconClassName()

getIconClassName

Return Value

string

at line 183
boolean getIdle()

getIdle

Return Value

boolean

at line 192
boolean getJnlpAgent()

getJnlpAgent

Return Value

boolean

at line 201
boolean getLaunchSupported()

getLaunchSupported

Return Value

boolean

at line 210
Collection getLoadStatistics()

getLoadStatistics

Return Value

Collection

at line 219
boolean getManualLaunchAllowed()

getManualLaunchAllowed

Return Value

boolean

at line 228
Monitor> getMonitorData()

getMonitorData

Return Value

Monitor>

at line 237
integer getNumExecutors()

getNumExecutors

Return Value

integer

at line 246
boolean isOffline()

isOffline

Return Value

boolean

at line 255
mixed getOfflineCause()

getOfflineCause

Return Value

mixed

at line 264
string getOfflineCauseReason()

getOfflineCauseReason

Return Value

string

at line 273
Collection getOneOffExecutors()

getOneOffExecutors

Return Value

Collection

at line 282
boolean getTemporarilyOffline()

getTemporarilyOffline

Return Value

boolean

at line 293
Computer setActions(Collection $actions)

setActions

Parameters

Collection $actions

Return Value

Computer

at line 305
Computer setDisplayName(string $displayName)

setDisplayName

Parameters

string $displayName

Return Value

Computer

at line 317
Computer setExecutors(Collection $executors)

setExecutors

Parameters

Collection $executors

Return Value

Computer

at line 329
Computer setIcon(string $icon)

setIcon

Parameters

string $icon

Return Value

Computer

at line 341
Computer setIconClassName(string $iconClassName)

setIconClassName

Parameters

string $iconClassName

Return Value

Computer

at line 353
Computer setIdle(boolean $idle)

setIdle

Parameters

boolean $idle

Return Value

Computer

at line 365
Computer setJnlpAgent(boolean $jnlpAgent)

setJnlpAgent

Parameters

boolean $jnlpAgent

Return Value

Computer

at line 377
Computer setLaunchSupported(boolean $launchSupported)

setLaunchSupported

Parameters

boolean $launchSupported

Return Value

Computer

at line 389
Computer setLoadStatistics(Collection $loadStatistics)

setLoadStatistics

Parameters

Collection $loadStatistics

Return Value

Computer

at line 401
Computer setManualLaunchAllowed(boolean $manualLaunchAllowed)

setManualLaunchAllowed

Parameters

boolean $manualLaunchAllowed

Return Value

Computer

at line 413
Computer setMonitorData(ObjectMap $monitorData)

setMonitorData

Parameters

ObjectMap $monitorData

Return Value

Computer

at line 425
Computer setNumExecutors(integer $numExecutors)

setNumExecutors

Parameters

integer $numExecutors

Return Value

Computer

at line 437
Computer setOffline(boolean $offline)

setOffline

Parameters

boolean $offline

Return Value

Computer

at line 449
Computer setOfflineCause(mixed $offlineCause)

setOfflineCause

Parameters

mixed $offlineCause

Return Value

Computer

at line 461
Computer setOfflineCauseReason(string $offlineCauseReason)

setOfflineCauseReason

Parameters

string $offlineCauseReason

Return Value

Computer

at line 473
Computer setOneOffExecutors(Collection $oneOffExecutors)

setOneOffExecutors

Parameters

Collection $oneOffExecutors

Return Value

Computer

at line 485
Computer setTemporarilyOffline(boolean $temporarilyOffline)

setTemporarilyOffline

Parameters

boolean $temporarilyOffline

Return Value

Computer

at line 497
static protected ObjectMap getMonitorMap(ArrayHelper $array)

Monitordaten aufbereiten

Parameters

ArrayHelper $array Daten

Return Value

ObjectMap

at line 521
static Computer getInstanceFromArray(Array $array)

getInstanceFromArray

Parameters

Array $array

Return Value

Computer