RbUtils 0.13

org.ktc.rbutils.rb.generation
Class RbGeneratorTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ktc.rbutils.rb.AbstractRbTask
              extended by org.ktc.rbutils.rb.generation.RbGeneratorTask

public class RbGeneratorTask
extends AbstractRbTask

The ant task for RB Generation.

See the task documentation for information.

Since:
RbUtils 0.8.1
Version:
$Revision: 1.3 $
Author:
ktcguru

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ktc.rbutils.rb.AbstractRbTask
AbstractRbTask.Log, AbstractRbTask.LoggerType
 
Field Summary
 
Fields inherited from class org.ktc.rbutils.rb.AbstractRbTask
displayLocale, extension, failOnErrors, failureProperty, fileSets, maxErrors, processor, root, taskType
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
RbGeneratorTask()
          Instanciates a new RbGeneratorTask.
 
Method Summary
 void execute()
          Launches the check.
 void setGenRootdir(File genRootdir)
          Sets the directory where the java file will be generated.
protected  void specificTaskinitilization()
          Adds specific Initialization to the task.
 
Methods inherited from class org.ktc.rbutils.rb.AbstractRbTask
addFileset, addLogger, doJob, getFiles, getLoggers, handleErrors, logTaskStarts, setDisplayLocale, setExtension, setFailOnErrors, setFailureProperty, setMaxErrors, setRoot
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
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

RbGeneratorTask

public RbGeneratorTask()
Instanciates a new RbGeneratorTask.

Method Detail

specificTaskinitilization

protected void specificTaskinitilization()
                                  throws FileNotFoundException
Adds specific Initialization to the task. This let subclasses instanciate the processor and set processor properties .

Specified by:
specificTaskinitilization in class AbstractRbTask
Throws:
FileNotFoundException - if a file is not found on processor instanciation.

execute

public void execute()
Launches the check.

Overrides:
execute in class Task

setGenRootdir

public void setGenRootdir(File genRootdir)
Sets the directory where the java file will be generated.

Parameters:
genRootdir - the directory to set.

Back to the RbUtils Home Page

Copyright © 2005-2009 RbUtils Project. All Rights Reserved.