org.webdocwf.util.loader.task
Class LoaderTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.webdocwf.util.loader.task.LoaderTask

public class LoaderTask
extends org.apache.tools.ant.Task

Loader Task class extends jakarta-ant Task class and uses to start Loader application as a jakarta-ant task in build.xml file.

Attributes of LoaderTask represents Loader parameters:

loadJobFileName attribute - defines loader job
mode attribute - defines mode
restartIndicator attribute - defines restart
userID attribute - defines user ID
logDirName attribute - defines log directory
logFileName attribute - defines log file
vendorFileName attribute - defines vendor file
onErrorContinue attribute - defines continue or not on error
commitCount attribute - defines commit count
additionalPaths tag - defines single or group of additionalPath tags
additionalPath tag - defines tag with path attribute
pathToConfFile attribute - defines path to conf file in jar
variables tag - defines single or group of variable tags
variable tag - defines tag with path attribute
name attribute - defines variable name
value attribute - defines variable value


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
LoaderTask()
           
 
Method Summary
 void addConfiguredAdditionalPaths(AdditionalPaths anInner)
          The setter for the "AdditionalPaths" tag
 void addConfiguredVariables(Variables anInner)
          The setter for the "Variables" tag
 void execute()
          The method executing the task
 void setCommitCount(java.lang.String msg)
          The setter for the "commitCount" attribute
 void setLoadJob(java.lang.String msg)
          The setter for the "loadJob" attribute
 void setLogDir(java.lang.String msg)
          The setter for the "logDir" attribute
 void setLogFile(java.lang.String msg)
          The setter for the "logFile" attribute
 void setMode(java.lang.String msg)
          The setter for the "mode" attribute
 void setOnErrorContinue(java.lang.String msg)
          The setter for the "onErrorContinue" attribute
 void setPathToConfFile(java.lang.String string)
          The setter for the "pathToConfFile" attribute
 void setRestartIndicator(java.lang.String msg)
          The setter for the "restartIndicator" attribute
 void setReturnCode(java.lang.String rc)
          The setter for the "returnCode" attribute
 void setTableNames(java.lang.String string)
          The setter for the "tableNames" attribute
 void setUserID(java.lang.String msg)
          The setter for the "userID" attribute
 void setVendorFile(java.lang.String msg)
          The setter for the "vendorFile" attribute
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoaderTask

public LoaderTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
The method executing the task

Throws:
org.apache.tools.ant.BuildException

setLoadJob

public void setLoadJob(java.lang.String msg)
The setter for the "loadJob" attribute


setMode

public void setMode(java.lang.String msg)
The setter for the "mode" attribute


setUserID

public void setUserID(java.lang.String msg)
The setter for the "userID" attribute


setLogDir

public void setLogDir(java.lang.String msg)
The setter for the "logDir" attribute


setLogFile

public void setLogFile(java.lang.String msg)
The setter for the "logFile" attribute


setRestartIndicator

public void setRestartIndicator(java.lang.String msg)
The setter for the "restartIndicator" attribute


setVendorFile

public void setVendorFile(java.lang.String msg)
The setter for the "vendorFile" attribute


setOnErrorContinue

public void setOnErrorContinue(java.lang.String msg)
The setter for the "onErrorContinue" attribute


setCommitCount

public void setCommitCount(java.lang.String msg)
The setter for the "commitCount" attribute


setReturnCode

public void setReturnCode(java.lang.String rc)
The setter for the "returnCode" attribute


addConfiguredAdditionalPaths

public void addConfiguredAdditionalPaths(AdditionalPaths anInner)
The setter for the "AdditionalPaths" tag


addConfiguredVariables

public void addConfiguredVariables(Variables anInner)
The setter for the "Variables" tag


setPathToConfFile

public void setPathToConfFile(java.lang.String string)
The setter for the "pathToConfFile" attribute


setTableNames

public void setTableNames(java.lang.String string)
The setter for the "tableNames" attribute



Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.