com.phenix.pct
Class PCTBgRun
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.phenix.pct.PCT
com.phenix.pct.PCTBgRun
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- PCTBgCompile, PCTBgCRC
public abstract class PCTBgRun
- extends PCT
Run a background Progress procedure.
- Version:
- $Revision$
- Author:
- Gilles QUERRET
| Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
|
Constructor Summary |
PCTBgRun()
Default constructor |
| Methods inherited from class com.phenix.pct.PCT |
addEnv, checkDlcHome, deleteDirectory, escapeString, extractPL, extractPL, getDlcBin, getDlcHome, getDLCMaintenanceVersion, getDLCMajorVersion, getDLCMinorVersion, getDLCPatchLevel, getDLCRevision, getEnvironment, getExecPath, getFullVersion, getIncludedPL, getJavaFileset, getJavaFileset, getProgressProcedures, getRCodeVersion, getReducedVersion, isSourceCodeUsed, nextRandomInt, setDlcBin, setDlcHome, setDlcJava, setIncludedPL |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
internalPropath
protected org.apache.tools.ant.types.Path internalPropath
pctLib
protected File pctLib
plID
protected int plID
PCTBgRun
public PCTBgRun()
- Default constructor
addPCTConnection
public void addPCTConnection(PCTConnection dbConn)
addOption
public void addOption(PCTRunOption option)
addPCTRunOption
public void addPCTRunOption(PCTRunOption option)
addParameter
public void addParameter(RunParameter param)
addOutputParameter
public void addOutputParameter(OutputParameter param)
setParamFile
public void setParamFile(File pf)
setNumSep
public void setNumSep(String numsep)
setNumDec
public void setNumDec(String numdec)
setParameter
public void setParameter(String param)
setDebugPCT
public void setDebugPCT(boolean debugPCT)
setCompileUnderscore
public void setCompileUnderscore(boolean compUnderscore)
setDirSize
public void setDirSize(int dirSize)
setGraphicalMode
public void setGraphicalMode(boolean graphMode)
setIniFile
public void setIniFile(File iniFile)
setFailOnError
public void setFailOnError(boolean failOnError)
setPropath
public void setPropath(org.apache.tools.ant.types.Path propath)
createPropath
public org.apache.tools.ant.types.Path createPropath()
setCpStream
public void setCpStream(String cpStream)
setCpInternal
public void setCpInternal(String cpInternal)
setInputChars
public void setInputChars(int inputChars)
setCenturyYearOffset
public void setCenturyYearOffset(int centuryYearOffset)
setToken
public void setToken(int token)
setMaximumMemory
public void setMaximumMemory(int maximumMemory)
setStackSize
public void setStackSize(int stackSize)
setTTBufferSize
public void setTTBufferSize(int ttBufferSize)
setMsgBufferSize
public void setMsgBufferSize(int msgBufSize)
setDebugReady
public void setDebugReady(int debugReady)
setTempDir
public void setTempDir(File tempDir)
setBaseDir
public void setBaseDir(File baseDir)
setResultProperty
public void setResultProperty(String resultProperty)
setNumThreads
public void setNumThreads(int numThreads)
- Number of threads to throw when running task
- Parameters:
numThreads - Number of threads
getOptions
public GenericExecuteOptions getOptions()
createOpenEdgeWorker
protected abstract BackgroundWorker createOpenEdgeWorker(Socket socket)
setBuildException
public void setBuildException(Throwable exception)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Do the work
- Specified by:
execute in class PCT
- Throws:
org.apache.tools.ant.BuildException - Something went wrong
preparePropath
protected void preparePropath()
cleanup
protected void cleanup()
logMessages
protected void logMessages(List logs)
Copyright © 2003-2011 Gilles QUERRET. All Rights Reserved.