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

Class: Xinc_Build

Source Location: /Xinc/Build.php

Class Overview




Implements interfaces:

Methods



Class Details

[line 43]


[ Top ]


Class Methods


static method generateStatusSubDir [line 681]

static void generateStatusSubDir( $projectName, $buildTime)



Tags:

access:  public


Parameters:

   $projectName  
   $buildTime  

[ Top ]

static method unserialize [line 348]

static Xinc_Build &unserialize( Xinc_Project &$project, [integer $buildTimestamp = null], [ $statusDir = null], Xinc_Project $project)

Unserialize a build by its project and buildtimestamp



Tags:

throws:  Xinc_Build_Exception_Unserialization
throws:  Xinc_Build_Exception_NotFound
access:  public



Implementation of:
Xinc_Build_Interface::unserialize()
loads the build information

Parameters:

Xinc_Project   $project  
integer   $buildTimestamp  
Xinc_Project   &$project  
   $statusDir  

[ Top ]

constructor __construct [line 154]

Xinc_Build __construct( Xinc_Engine_Interface &$engine, Xinc_Project &$project, [integer $buildTimestamp = null], Xinc_Engine_Interface $engine, Xinc_Project $project)

sets the project, engine and timestamp for the build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::__construct()
sets the project, engine and timestamp for the build

Parameters:

Xinc_Engine_Interface   $engine  
Xinc_Project   $project  
integer   $buildTimestamp  
Xinc_Engine_Interface   &$engine  
Xinc_Project   &$project  

[ Top ]

method build [line 629]

void build( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::build()
Build
[ Top ]

method debug [line 608]

void debug( string $message)

Logs a message of priority debug



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::debug()

Parameters:

string   $message  

[ Top ]

method dequeue [line 747]

void dequeue( )

remove build from queue mode



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::dequeue()
remove build from queue mode
[ Top ]

method enqueue [line 729]

void enqueue( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::enqueue()
Put build into queue mode
[ Top ]

method error [line 621]

void error( string $message)

Logs a message of priority error



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::error()

Parameters:

string   $message  

[ Top ]

method getBuildTime [line 233]

integer getBuildTime( )

returns the timestamp of this build



Tags:

return:  Timestamp of build (unixtimestamp)
access:  public



Implementation of:
Xinc_Build_Interface::getBuildTime()
returns the timestamp of this build
[ Top ]

method getConfigDirective [line 769]

mixed getConfigDirective( string $name)

Returns the configuration directive for the name



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getConfigDirective()

Parameters:

string   $name  

[ Top ]

method getEngine [line 261]

Xinc_Engine_Interface &getEngine( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getEngine()
[ Top ]

method getInternalProperties [line 205]

Xinc_Build_Properties &getInternalProperties( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getInternalProperties()
returns the internal build properties
[ Top ]

method getLabel [line 478]

string getLabel( )

returns the label of this build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getLabel()
returns the label of this build
[ Top ]

method getLabeler [line 488]

Xinc_Build_Labeler getLabeler( )

returns the labeler of this build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getLabeler()
[ Top ]

method getLastBuild [line 183]

Xinc_Build_Interface &getLastBuild( )

Returns the last build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getLastBuild()
Returns the last build
[ Top ]

method getNextBuildTime [line 243]

void getNextBuildTime( )

Returns the next build time (unix timestamp)

for this build




Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getNextBuildTime()
Returns the next build time (unix timestamp)
[ Top ]

method getNumber [line 467]

integer getNumber( )

returns the build no for this build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getNumber()
returns the build no for this build
[ Top ]

method getProject [line 252]

Xinc_Project &getProject( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getProject()
[ Top ]

method getProperties [line 196]

Xinc_Build_Properties &getProperties( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getProperties()
returns the build properties
[ Top ]

method getScheduler [line 518]

Xinc_Build_Scheduler_Interface getScheduler( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getScheduler()
[ Top ]

method getStatistics [line 213]

Xinc_Build_Statistics &getStatistics( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getStatistics()
returns the build statistics
[ Top ]

method getStatus [line 403]

void getStatus( )

returns the status of this build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getStatus()
returns the status of this build
[ Top ]

method getStatusSubDir [line 697]

void getStatusSubDir( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getStatusSubDir()
Returns the subdirectory inside the status directory
[ Top ]

method getTaskRegistry [line 527]

Xinc_Build_Tasks_Registry getTaskRegistry( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::getTaskRegistry()
[ Top ]

method info [line 569]

void info( string $message)

Logs a message of priority info



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::info()
Logs a message of severity info

Parameters:

string   $message  

[ Top ]

method init [line 445]

void init( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::init()
called before a new build is executed
[ Top ]

method isQueued [line 738]

void isQueued( )

check if build is in queue mode



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::isQueued()
check if build is in queue mode
[ Top ]

method process [line 537]

void process( mixed $slot)

processes the tasks that are registered for the slot



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::process()
processes the tasks that are registered for the slot

Parameters:

mixed   $slot  

[ Top ]

method resetConfigDirective [line 774]

void resetConfigDirective( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::resetConfigDirective()
[ Top ]

method serialize [line 284]

boolean serialize( )

stores the build information



Tags:

throws:  Xinc_Build_Exception_NotRun
throws:  Xinc_Build_Exception_Serialization
throws:  Xinc_Build_History_Exception_Storage
access:  public



Implementation of:
Xinc_Build_Interface::serialize()
stores the build information
[ Top ]

method setBuildTime [line 222]

void setBuildTime( integer $buildTime)

sets the build time for this build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setBuildTime()
sets the build time for this build

Parameters:

integer   $buildTime   unixtimestamp

[ Top ]

method setConfigDirective [line 758]

void setConfigDirective( string $name, string $value)

Sets custom config value for the current build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setConfigDirective()
Sets custom config value for the current build

Parameters:

string   $name  
string   $value  

[ Top ]

method setLabeler [line 173]

void setLabeler( Xinc_Build_Labeler_Interface &$labeler)



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setLabeler()
Sets the labeler that should be used for this build

Parameters:

Xinc_Build_Labeler_Interface   &$labeler  

[ Top ]

method setLastBuild [line 266]

void setLastBuild( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setLastBuild()
Moves the current build to _lastBuild
[ Top ]

method setNumber [line 455]

void setNumber( integer $no)

Sets the sequence number for this build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setNumber()
Sets the sequence number for this build

Parameters:

integer   $no  

[ Top ]

method setScheduler [line 509]

void setScheduler( Xinc_Build_Scheduler_Interface &$scheduler, Xinc_Build_Scheduler_Interface $scheduler)

Sets a build scheduler, which calculates the next build time based on the configuration



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setScheduler()
Sets a build scheduler, which calculates the next build time based on the configuration

Parameters:

Xinc_Build_Scheduler_Interface   $scheduler  
Xinc_Build_Scheduler_Interface   &$scheduler  

[ Top ]

method setStatus [line 413]

void setStatus( integer $status)

Set the status of this build



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setStatus()
Set the status of this build

Parameters:

integer   $status  

[ Top ]

method setTaskRegistry [line 497]

void setTaskRegistry( Xinc_Build_Tasks_Registry $taskRegistry)



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::setTaskRegistry()

Parameters:

Xinc_Build_Tasks_Registry   $taskRegistry  

[ Top ]

method updateTasks [line 656]

void updateTasks( )



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::updateTasks()
Updates properties on tasks, after
[ Top ]

method verbose [line 595]

void verbose( string $message)

Logs a message of priority verbose



Tags:

access:  public


Parameters:

string   $message  

[ Top ]

method warn [line 582]

void warn( string $message)

Logs a message of priority warn



Tags:

access:  public



Implementation of:
Xinc_Build_Interface::warn()

Parameters:

string   $message  

[ Top ]

method __sleep [line 419]

void __sleep( )



Tags:

access:  public


[ Top ]


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