Xinc-Build-Queue
[ class tree: Xinc-Build-Queue ] [ index: Xinc-Build-Queue ] [ all elements ]

Class: Xinc_Build_Queue_Interface

Source Location: /Xinc/Build/Queue/Interface.php

Interface Overview


A Build queue holds all Build Jobs queued for execution


Methods



Class Details

[line 38]
A Build queue holds all Build Jobs queued for execution

Build Jobs are registered with the Build Queue to be executed at a certain time




[ Top ]


Class Methods


method addBuild [line 48]

void addBuild( Xinc_Build_Interface $build)

adds a build to the queue

Calls the getNextBuildTime() method to put the builds into the right order in the queue




Tags:

access:  public


Parameters:

Xinc_Build_Interface   $build  

[ Top ]

method addBuilds [line 55]

void addBuilds( Xinc_Build_Iterator $builds)

Adds a number of builds to the queue



Tags:

access:  public


Parameters:

Xinc_Build_Iterator   $builds  

[ Top ]

method getNextBuild [line 71]

Xinc_Build_Interface getNextBuild( )

Removes the next scheduled build from the queue and returns it



Tags:

access:  public


[ Top ]

method getNextBuildTime [line 63]

integer getNextBuildTime( )

Returns the next build time of all the builds scheduled in this queue



Tags:

return:  unixtimestamp
access:  public


[ Top ]


Documentation generated on Sun, 09 Dec 2012 21:49:28 +0100 by phpDocumentor 1.4.4