org.webdocwf.util.loader.task
Class LoaderTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.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:

mode attribute - defines mode
restartIndicator attribute - defines restart
userID attribute - defines user ID
logDir attribute - defines log directory
logFile attribute - defines log file
vendorFile attribute - defines vendor file
onErrorContinue attribute - defines continue or not on error
commitCount attribute - defines commit count
loadJob attribute - defines loader job
onErrorContinue attribute - defines continue or not on error
additionalPaths tag - defines single or group of additionalPath tags
additionalPath tag - defines tag with path attribute
path attribute - defines classpath
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 setRestartIndicator(java.lang.String msg)
          The setter for the "restartIndicator" attribute
 void setReturnCode(java.lang.String rc)
          The setter for the "returnCode" 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

Overrides:
execute in class org.apache.tools.ant.Task
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



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