net.sourceforge.cruisecontrol.builders
Class PhingScript
java.lang.Object
net.sourceforge.cruisecontrol.builders.PhingScript
- All Implemented Interfaces:
- Script
- public class PhingScript
- extends java.lang.Object
- implements Script
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhingScript
public PhingScript()
buildCommandline
public Commandline buildCommandline()
throws CruiseControlException
- construct the command that we're going to execute.
- Specified by:
buildCommandline in interface Script
- Returns:
- Commandline holding command to be executed
- Throws:
CruiseControlException - on unquotable attributes
setBuildProperties
public void setBuildProperties(java.util.Map buildProperties)
- Parameters:
buildProperties - The buildProperties to set.
getLoggerClassName
public java.lang.String getLoggerClassName()
- Returns:
- Returns the loggerClassName.
setLoggerClassName
public void setLoggerClassName(java.lang.String loggerClassName)
- Parameters:
loggerClassName - The loggerClassName to set.
setPhingScript
public void setPhingScript(java.lang.String antScript)
- Parameters:
antScript - The antScript to set.
setWindows
public void setWindows(boolean isWindows)
- Parameters:
isWindows - The isWindows to set.
setBuildFile
public void setBuildFile(java.lang.String buildFile)
- Parameters:
buildFile - The buildFile to set.
setTempFileName
public void setTempFileName(java.lang.String tempFileName)
- Parameters:
tempFileName - The tempFileName to set.
setUseDebug
public void setUseDebug(boolean useDebug)
- Parameters:
useDebug - The useDebug to set.
setUseLogger
public void setUseLogger(boolean useLogger)
- Parameters:
useLogger - The useLogger to set.
setUseQuiet
public void setUseQuiet(boolean useQuiet)
- Parameters:
useQuiet - The useQuiet to set.
setProperties
public void setProperties(java.util.List properties)
- Parameters:
properties - The properties to set.
setTarget
public void setTarget(java.lang.String target)
- Parameters:
target - The target to set.
getExitCode
public int getExitCode()
- Specified by:
getExitCode in interface Script
- Returns:
- Returns the exitCode.
setExitCode
public void setExitCode(int exitCode)
- Description copied from interface:
Script
- exitCode is what is returned from running the script
- Specified by:
setExitCode in interface Script
- Parameters:
exitCode - The exitCode to set.