com.phenix.pct
Class PCTDumpData

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.PCTDumpData
All Implemented Interfaces:
Cloneable

public class PCTDumpData
extends PCTRun

Dumps data from database

Version:
$Revision$
Author:
Ing. D.G. Knol

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
PCTDumpData()
           
 
Method Summary
 void execute()
          Do the work
 void setDestDir(File destDir)
          Output directory for dump
 void setTables(String tables)
          Tables list to dump
 
Methods inherited from class com.phenix.pct.PCTRun
addOption, addOutputParameter, addParameter, addPCTConnection, addPCTRunOption, addPropath, cleanup, createPropath, escapeString, getCmdLineParameters, getDebugPCT, getStatusFileName, isPrepared, maybeSetResultPropertyValue, prepareExecTask, preparePropath, setBaseDir, setCenturyYearOffset, setCompileUnderscore, setCpInternal, setCpStream, setDebugPCT, setDebugReady, setDirSize, setExecTaskParams, setFailOnError, setGraphicalMode, setIniFile, setInputChars, setMaximumMemory, setMsgBufferSize, setNumDec, setNumSep, setParameter, setParameters, setParamFile, setProcedure, 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

PCTDumpData

public PCTDumpData()
Method Detail

setDestDir

public void setDestDir(File destDir)
Output directory for dump

Parameters:
destDir - directory

setTables

public void setTables(String tables)
Tables list to dump

Parameters:
tables - the tables to dump

execute

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

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


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