RbUtils 0.13

org.ktc.rbutils.rb.check
Class RbCheckerTask

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.check.RbCheckerTask

public class RbCheckerTask
extends AbstractRbTask

The ant task for RB Check.

See the task documentation for information.

Since:
RbUtils 0.5
Version:
$Revision: 1.4 $
Author:
redfish

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ktc.rbutils.rb.AbstractRbTask
AbstractRbTask.Log, AbstractRbTask.LoggerType
 
Field Summary
protected  Path classpath
          Contains the classpath to be used during the check.
 
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
RbCheckerTask()
          Instanciates a new RbCheckerTask.
 
Method Summary
 void execute()
          
 void setFilechecker(String filechecker)
          Class name of the FileChecker to be used by the MainChecker.
 void specificTaskinitilization()
          Adds specific Initialization to the task. Sets the filechecker class name.
 
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
 

Field Detail

classpath

protected Path classpath
Contains the classpath to be used during the check.

Constructor Detail

RbCheckerTask

public RbCheckerTask()
Instanciates a new RbCheckerTask.

Method Detail

execute

public void execute()

Overrides:
execute in class Task

specificTaskinitilization

public void specificTaskinitilization()
                               throws FileNotFoundException
Adds specific Initialization to the task. This let subclasses instanciate the processor and set processor properties . Sets the filechecker class name.

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

setFilechecker

public void setFilechecker(String filechecker)
Class name of the FileChecker to be used by the MainChecker.

Parameters:
filechecker - the filechecker class name to set.

Back to the RbUtils Home Page

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