|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.phenix.pct.GenericExecuteOptions
public class GenericExecuteOptions
| Constructor Summary | |
|---|---|
GenericExecuteOptions(org.apache.tools.ant.Project p)
|
|
| Method Summary | |
|---|---|
void |
addOption(PCTRunOption option)
Adds a new command line option |
void |
addOutputParameter(OutputParameter param)
Add a new output param which will be passed to progress procedure |
void |
addParameter(RunParameter param)
Adds a new parameter which can be read by the called Progress procedure |
void |
addPCTConnection(PCTConnection dbConn)
Adds a database connection |
void |
addPCTRunOption(PCTRunOption option)
|
org.apache.tools.ant.types.Path |
createPropath()
Creates a new Path instance |
File |
getBaseDir()
|
int |
getCenturyYearOffset()
|
protected List |
getCmdLineParameters()
|
String |
getCpInternal()
|
String |
getCpStream()
|
List |
getDBConnections()
Returns list of database connections. |
List |
getDbConnList()
|
int |
getDebugReady()
|
int |
getDirSize()
|
File |
getIniFile()
|
int |
getInputChars()
|
int |
getMaximumMemory()
|
int |
getMessageBufferSize()
|
String |
getNumdec()
|
String |
getNumsep()
|
List |
getOptions()
Returns list of command line options. |
List |
getOutputParameters()
Returns list of output parameters to be filled by the called Progress procedure. |
String |
getParameter()
|
List |
getParameters()
Returns list of parameters passed to the called Progress procedure. |
File |
getParamFile()
|
String |
getProcedure()
|
org.apache.tools.ant.types.Path |
getPropath()
|
String |
getResultProperty()
|
List |
getRunParameters()
|
int |
getStackSize()
|
File |
getTempDir()
|
int |
getToken()
|
int |
getTtBufferSize()
|
boolean |
isBatchMode()
|
boolean |
isCompileUnderscore()
|
boolean |
isDebugPCT()
|
boolean |
isGraphMode()
|
void |
setBaseDir(File baseDir)
The directory in which the Progress runtime should be executed. |
void |
setCenturyYearOffset(int centuryYearOffset)
Century year offset (-yy attribute) |
void |
setCompileUnderscore(boolean compUnderscore)
If files beginning with an underscore should be compiled (-zn option) See POSSE documentation for more details |
void |
setCpInternal(String cpInternal)
Internal code page (-cpinternal attribute) |
void |
setCpStream(String cpStream)
Stream code page (-cpstream attribute) |
void |
setDebugPCT(boolean debugPCT)
Turns on/off debugging mode (keeps Progress temp files on disk) |
void |
setDebugReady(int debugReady)
Port number on which debugger should connect (-debugReady parameter) |
void |
setDirSize(int dirSize)
The number of compiled procedure directory entries (-D attribute) |
void |
setFailOnError(boolean failOnError)
|
void |
setGraphicalMode(boolean graphMode)
Graphical mode on/off (call to _progres or prowin32) |
void |
setIniFile(File iniFile)
Sets .ini file to use (-basekey INI -ininame xxx) |
void |
setInputChars(int inputChars)
The number of characters allowed in a single statement (-inp attribute) |
void |
setMaximumMemory(int maximumMemory)
The amount of memory allocated for r-code segments |
void |
setMsgBufferSize(int msgBufSize)
Message buffer size (-Mm attribute) |
void |
setNumDec(String numdec)
Decimal separator (-numdec attribute) |
void |
setNumSep(String numsep)
Thousands separator (-numsep attribute) |
void |
setParameter(String param)
Parameter (-param attribute) |
void |
setParamFile(File pf)
Parameter file (-pf attribute) |
void |
setProcedure(String procedure)
|
void |
setPropath(org.apache.tools.ant.types.Path propath)
Set the propath to be used when running the procedure |
void |
setResultProperty(String resultProperty)
Sets the name of a property in which the return valeur of the Progress procedure should be stored. |
void |
setStackSize(int stackSize)
The size of the stack in 1KB units. |
void |
setTempDir(File tempDir)
Temporary directory for Progress runtime (-T parameter) |
void |
setToken(int token)
The number of tokens allowed in a 4GL statement (-tok attribute) |
void |
setTTBufferSize(int ttBufferSize)
Buffer Size for Temporary Tables (-Bt attribute) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericExecuteOptions(org.apache.tools.ant.Project p)
| Method Detail |
|---|
public void addPCTConnection(PCTConnection dbConn)
dbConn - Instance of PCTConnection classpublic List getDBConnections()
public void addOption(PCTRunOption option)
option - Instance of PCTRunOption classpublic void addPCTRunOption(PCTRunOption option)
option - PCTRun.addOption(PCTRunOption)public List getOptions()
public void addParameter(RunParameter param)
param - Instance of RunParameter classpublic List getParameters()
public void addOutputParameter(OutputParameter param)
param - Instance of OutputParameterpublic List getOutputParameters()
public void setPropath(org.apache.tools.ant.types.Path propath)
propath - an Ant Path object containing the propathpublic org.apache.tools.ant.types.Path createPropath()
public void setParamFile(File pf)
pf - Filepublic File getParamFile()
public void setNumSep(String numsep)
numsep - Stringpublic void setNumDec(String numdec)
numdec - Stringpublic void setParameter(String param)
param - Stringpublic void setDebugPCT(boolean debugPCT)
debugPCT - booleanpublic void setCompileUnderscore(boolean compUnderscore)
compUnderscore - booleanpublic void setDirSize(int dirSize)
dirSize - intpublic void setGraphicalMode(boolean graphMode)
graphMode - booleanpublic void setIniFile(File iniFile)
iniFile - Filepublic void setCpStream(String cpStream)
cpStream - Stringpublic void setCpInternal(String cpInternal)
cpInternal - Stringpublic void setInputChars(int inputChars)
inputChars - Integerpublic void setCenturyYearOffset(int centuryYearOffset)
centuryYearOffset - Integerpublic void setToken(int token)
token - intpublic void setMaximumMemory(int maximumMemory)
maximumMemory - intpublic void setStackSize(int stackSize)
stackSize - intpublic void setTTBufferSize(int ttBufferSize)
ttBufferSize - intpublic void setMsgBufferSize(int msgBufSize)
msgBufSize - intpublic void setDebugReady(int debugReady)
debugReady - intpublic void setTempDir(File tempDir)
tempDir - Filepublic void setBaseDir(File baseDir)
baseDir - Filepublic void setResultProperty(String resultProperty)
resultProperty - name of property.public void setFailOnError(boolean failOnError)
public List getDbConnList()
public List getRunParameters()
public org.apache.tools.ant.types.Path getPropath()
public int getDebugReady()
public boolean isGraphMode()
public boolean isDebugPCT()
public boolean isCompileUnderscore()
public boolean isBatchMode()
public String getCpStream()
public String getCpInternal()
public String getParameter()
public String getNumsep()
public String getNumdec()
public int getInputChars()
public int getDirSize()
public int getCenturyYearOffset()
public int getToken()
public int getMaximumMemory()
public int getStackSize()
public int getTtBufferSize()
public int getMessageBufferSize()
public File getIniFile()
public String getResultProperty()
public File getTempDir()
public File getBaseDir()
public String getProcedure()
public void setProcedure(String procedure)
protected List getCmdLineParameters()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||