com.phenix.pct
Class PCTLoadData

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

public class PCTLoadData
extends PCTRun

Loads data into database

Version:
$Revision$
Author:
Gilles QUERRET

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
PCTLoadData()
          Creates a new PCTLoadData object
 
Method Summary
 void addConfiguredTable(PCTTable table)
           
 void execute()
          Do the work
 void setSrcDir(File srcDir)
          Input directory
 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

PCTLoadData

public PCTLoadData()
Creates a new PCTLoadData object

Method Detail

setSrcDir

public void setSrcDir(File srcDir)
Input directory

Parameters:
srcDir - directory

setTables

public void setTables(String tables)
Tables list to dump

Parameters:
tables - the tables to dump

addConfiguredTable

public void addConfiguredTable(PCTTable table)

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.