org.drools.contrib
Class DroolsVerifierAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.drools.contrib.DroolsVerifierAntTask
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class DroolsVerifierAntTask
extends org.apache.tools.ant.taskdefs.MatchingTask


Field Summary
static String DRLFILEEXTENSION
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
DroolsVerifierAntTask()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
          Adds a path to the classpath.
 void execute()
          Task's main method
 void setClasspath(org.apache.tools.ant.types.Path classpath)
          The classpath to use when compiling the rulebase
 void setClasspathref(org.apache.tools.ant.types.Reference r)
          Classpath to use, by reference, when compiling the rulebase
 void setSrcDir(File directory)
          Source directory to read DRL files from
 void setToFile(File toFile)
          File to serialize the rulebase to
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRLFILEEXTENSION

public static final String DRLFILEEXTENSION
See Also:
Constant Field Values
Constructor Detail

DroolsVerifierAntTask

public DroolsVerifierAntTask()
Method Detail

setSrcDir

public void setSrcDir(File directory)
Source directory to read DRL files from

Parameters:
directory -

setToFile

public void setToFile(File toFile)
File to serialize the rulebase to

Parameters:
toFile -

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)
The classpath to use when compiling the rulebase

Parameters:
classpath -

setClasspathref

public void setClasspathref(org.apache.tools.ant.types.Reference r)
Classpath to use, by reference, when compiling the rulebase

Parameters:
r - a reference to an existing classpath

createClasspath

public org.apache.tools.ant.types.Path createClasspath()
Adds a path to the classpath.

Returns:
created classpath

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Task's main method

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.