com.phenix.pct
Class PCTBinaryLoad

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

public class PCTBinaryLoad
extends PCT

Binary load task

Version:
$Revision$
Author:
Gilles QUERRET

Field Summary
 
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
PCTBinaryLoad()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds a set of files to archive.
 void addPCTConnection(PCTConnection dbConn)
          Adds a database connection
 void execute()
          Do the work
 void setIndexRebuildTimeout(int timeout)
          Sets the timeout before indexes are rebuilt (-G parameter)
 void setRebuildIndexes(boolean rebuildIndexes)
          Sets to false if indexes shouldn't be rebuilt
 
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

PCTBinaryLoad

public PCTBinaryLoad()
Method Detail

addPCTConnection

public void addPCTConnection(PCTConnection dbConn)
Adds a database connection

Parameters:
dbConn - Instance of DBConnection class

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files to archive.

Parameters:
set - FileSet

setIndexRebuildTimeout

public void setIndexRebuildTimeout(int timeout)
Sets the timeout before indexes are rebuilt (-G parameter)

Parameters:
timeout - Timeout

setRebuildIndexes

public void setRebuildIndexes(boolean rebuildIndexes)
Sets to false if indexes shouldn't be rebuilt

Parameters:
rebuildIndexes - boolean

execute

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

Specified by:
execute in class PCT
Throws:
org.apache.tools.ant.BuildException - Something went wrong


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