QueueItem
class QueueItem extends Model
QueueItem
Properties
boolean | $blocked | ||
boolean | $buildable | ||
integer | $id | ||
integer | $inQueueSince | ||
string | $params | ||
boolean | $stuck | ||
Task | $task | ||
URI | $url | ||
string | $why | ||
integer | $buildableStartMilliseconds |
Methods
__construct(integer $id)
Neues Objekt erstellen
boolean
getBlocked()
getBlocked
boolean
getBuildable()
getBuildable
integer
getId()
getId
integer
getInQueueSince()
getInQueueSince
string
getParams()
getParams
boolean
getStuck()
getStuck
URI
getUrl()
getUrl
string
getWhy()
getWhy
integer
getBuildableStartMilliseconds()
getBuildableStartMilliseconds
setBlocked(boolean $blocked)
setBlocked
setBuildable(boolean $buildable)
setBuildable
setInQueueSince(integer $inQueueSince)
setInQueueSince
setBuildableStartMilliseconds(integer $buildableStartMilliseconds)
setBuildableStartMilliseconds
static QueueItem
getInstanceFromArray(Array $array)
getInstanceFromArray
Details
in Model at line 45
static Model
getInstanceFromJson(string $json)
Instanz aus einem JSON-String erstellen
at line 92
__construct(integer $id)
Neues Objekt erstellen
at line 104
boolean
getBlocked()
getBlocked
at line 114
boolean
getBuildable()
getBuildable
at line 124
integer
getId()
getId
at line 134
integer
getInQueueSince()
getInQueueSince
at line 144
string
getParams()
getParams
at line 154
boolean
getStuck()
getStuck
at line 163
Task
getTask()
getTask
at line 173
URI
getUrl()
getUrl
at line 183
string
getWhy()
getWhy
at line 193
integer
getBuildableStartMilliseconds()
getBuildableStartMilliseconds
at line 204
QueueItem
setBlocked(boolean $blocked)
setBlocked
at line 216
QueueItem
setBuildable(boolean $buildable)
setBuildable
at line 228
QueueItem
setInQueueSince(integer $inQueueSince)
setInQueueSince
at line 240
QueueItem
setParams(string $params)
setParams
at line 252
QueueItem
setStuck(boolean $stuck)
setStuck
at line 276
QueueItem
setUrl(URI $url)
setUrl
at line 288
QueueItem
setWhy(string $why)
setWhy
at line 300
QueueItem
setBuildableStartMilliseconds(integer $buildableStartMilliseconds)
setBuildableStartMilliseconds
at line 330
static QueueItem
getInstanceFromArray(Array $array)
getInstanceFromArray
{
"blocked": true,
"buildable": false,
"id": 584,
"inQueueSince": 1415993102377,
"params": "\n(JiraVersionParameterValue)BRANCHES='trunk'",
"stuck": false,
"task": {
"name": "www",
"url": "http: //example.com/job/www/"
},
"url": "queue/item/584/",
"why": "Build#311istbereitsinArbeit(ETA: 3Minuten0Sekunden)",
"buildableStartMilliseconds": 1415993102377
}