net.sourceforge.cruisecontrol.builders
Interface Script

All Known Implementing Classes:
AntScript, ExecScript, Maven2Script, MavenScript, NantScript, PhingScript, RakeScript

public interface Script

Shared functionality that builds based on running scripts need. Examples include running Maven, Ant, or NAnt.

Author:
Eric Pugh

Method Summary
 Commandline buildCommandline()
          This method will return the command line for a specific build tool
 int getExitCode()
           
 void setExitCode(int result)
          exitCode is what is returned from running the script
 

Method Detail

buildCommandline

public Commandline buildCommandline()
                             throws CruiseControlException
This method will return the command line for a specific build tool

Returns:
commandline for a scripted build.
Throws:
CruiseControlException

setExitCode

public void setExitCode(int result)
exitCode is what is returned from running the script

Parameters:
result -

getExitCode

public int getExitCode()