com.phenix.pct
Class PCTBgCRC

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.PCTBgRun
                  extended by com.phenix.pct.PCTBgCRC
All Implemented Interfaces:
Cloneable

public class PCTBgCRC
extends PCTBgRun

Generates a file containing CRC for each table (multiple databases allowed)

Version:
$Revision$
Author:
Gilles QUERRET

Nested Class Summary
 class PCTBgCRC.CRCThreadStatus
           
 
Field Summary
 
Fields inherited from class com.phenix.pct.PCTBgRun
internalPropath, pctLib, plID
 
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
PCTBgCRC()
           
 
Method Summary
protected  BackgroundWorker createOpenEdgeWorker(Socket socket)
           
 void execute()
          Do the work
 File getDestFile()
           
 void setDestFile(File destFile)
          Output file for CRCs
 
Methods inherited from class com.phenix.pct.PCTBgRun
addOption, addOutputParameter, addParameter, addPCTConnection, addPCTRunOption, cleanup, createPropath, getOptions, logMessages, preparePropath, setBaseDir, setBuildException, setCenturyYearOffset, setCompileUnderscore, setCpInternal, setCpStream, setDebugPCT, setDebugReady, setDirSize, setFailOnError, setGraphicalMode, setIniFile, setInputChars, setMaximumMemory, setMsgBufferSize, setNumDec, setNumSep, setNumThreads, setParameter, setParamFile, setPropath, setResultProperty, setStackSize, setTempDir, setToken, setTTBufferSize
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCTBgCRC

public PCTBgCRC()
Method Detail

setDestFile

public void setDestFile(File destFile)
Output file for CRCs

Parameters:
destFile - File

getDestFile

public File getDestFile()

createOpenEdgeWorker

protected BackgroundWorker createOpenEdgeWorker(Socket socket)
Specified by:
createOpenEdgeWorker in class PCTBgRun

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Do the work

Overrides:
execute in class PCTBgRun
Throws:
org.apache.tools.ant.BuildException - Something went wrong


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