com.phenix.pct
Class ServerProcess

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.phenix.pct.PCT
              extended by com.phenix.pct.PCTRun
                  extended by com.phenix.pct.ServerProcess
All Implemented Interfaces:
Cloneable

public class ServerProcess
extends PCTRun


Field Summary
 
Fields inherited from class com.phenix.pct.PCTRun
dbConnList, exec, initID, initProc, internalPropath, outputParameters, outputStream, outputStreamID, pctLib, plID, procedure, propath, runParameters, status, statusID
 
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
ServerProcess()
           
 
Method Summary
 String getActivateProc()
           
 String getConnectProc()
           
 String getDeactivateProc()
           
 String getDisconnectProc()
           
 String getPropath()
          Get the current propath as a path-separated list
 String getShutdownProc()
           
 String getStartupProc()
           
 void setActivateProc(String activateProc)
           
 void setBaseDir(File baseDir)
          The directory in which the Progress runtime should be executed.
 void setConnectProc(String connectProc)
           
 void setDeactivateProc(String deactivateProc)
           
 void setDebugPCT(boolean debugPCT)
          Turns on/off debugging mode (keeps Progress temp files on disk)
 void setDisconnectProc(String disconnectProc)
           
 void setFailOnError(boolean failOnError)
          Sets the failOnError parameter.
 void setGraphicalMode(boolean graphMode)
          Graphical mode on/off (call to _progres or prowin32)
 void setProcedure(String procedure)
          Procedure to be run (not -p param, this parameter is always pct_initXXX.p)
 void setShutdownProc(String shutdownProc)
           
 void setStartupProc(String startupProc)
           
 
Methods inherited from class com.phenix.pct.PCTRun
addOption, addOutputParameter, addParameter, addPCTConnection, addPCTRunOption, addPropath, cleanup, createPropath, escapeString, execute, getCmdLineParameters, getDebugPCT, getStatusFileName, isPrepared, maybeSetResultPropertyValue, prepareExecTask, preparePropath, setCenturyYearOffset, setCompileUnderscore, setCpInternal, setCpStream, setDebugReady, setDirSize, setExecTaskParams, setIniFile, setInputChars, setMaximumMemory, setMsgBufferSize, setNumDec, setNumSep, setParameter, setParameters, setParamFile, setResultProperty, setStackSize, setTempDir, setToken, setTTBufferSize
 
Methods inherited from class com.phenix.pct.PCT
addEnv, checkDlcHome, deleteDirectory, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerProcess

public ServerProcess()
Method Detail

setActivateProc

public void setActivateProc(String activateProc)

setConnectProc

public void setConnectProc(String connectProc)

setDeactivateProc

public void setDeactivateProc(String deactivateProc)

setDisconnectProc

public void setDisconnectProc(String disconnectProc)

setShutdownProc

public void setShutdownProc(String shutdownProc)

setStartupProc

public void setStartupProc(String startupProc)

setProcedure

public void setProcedure(String procedure)
Description copied from class: PCTRun
Procedure to be run (not -p param, this parameter is always pct_initXXX.p)

Overrides:
setProcedure in class PCTRun
Parameters:
procedure - String

setGraphicalMode

public void setGraphicalMode(boolean graphMode)
Description copied from class: PCTRun
Graphical mode on/off (call to _progres or prowin32)

Overrides:
setGraphicalMode in class PCTRun
Parameters:
graphMode - boolean

setDebugPCT

public void setDebugPCT(boolean debugPCT)
Description copied from class: PCTRun
Turns on/off debugging mode (keeps Progress temp files on disk)

Overrides:
setDebugPCT in class PCTRun
Parameters:
debugPCT - boolean

setBaseDir

public void setBaseDir(File baseDir)
Description copied from class: PCTRun
The directory in which the Progress runtime should be executed.

Overrides:
setBaseDir in class PCTRun
Parameters:
baseDir - File

setFailOnError

public void setFailOnError(boolean failOnError)
Description copied from class: PCTRun
Sets the failOnError parameter. Defaults to true.

Overrides:
setFailOnError in class PCTRun

getActivateProc

public String getActivateProc()

getConnectProc

public String getConnectProc()

getDeactivateProc

public String getDeactivateProc()

getDisconnectProc

public String getDisconnectProc()

getShutdownProc

public String getShutdownProc()

getStartupProc

public String getStartupProc()

getPropath

public String getPropath()
Get the current propath as a path-separated list

Returns:
String


Copyright © 2003-2011 Gilles QUERRET. All Rights Reserved.