org.drools.contrib
Class DroolsCompilerAntTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.drools.contrib.DroolsCompilerAntTask
- All Implemented Interfaces:
- Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer
public class DroolsCompilerAntTask
- extends org.apache.tools.ant.taskdefs.MatchingTask
An ant task to allow rulebase compilation and serialization during a build.
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 |
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 |
BRLFILEEXTENSION
public static String BRLFILEEXTENSION
XMLFILEEXTENSION
public static String XMLFILEEXTENSION
RULEFLOWMODELFILEEXTENSION
public static String RULEFLOWMODELFILEEXTENSION
RULEFLOWFILEEXTENSION
public static String RULEFLOWFILEEXTENSION
DSLFILEEXTENSION
public static String DSLFILEEXTENSION
DSLRFILEEXTENSION
public static String DSLRFILEEXTENSION
XLSFILEEXTENSION
public static String XLSFILEEXTENSION
DROOLSPACKAGEEXTENSION
public static String DROOLSPACKAGEEXTENSION
PACKAGEBINFORMAT
public static String PACKAGEBINFORMAT
PACKAGEBINTYPE
public static String PACKAGEBINTYPE
DroolsCompilerAntTask
public DroolsCompilerAntTask()
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:
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
addConfiguredSysproperty
public void addConfiguredSysproperty(org.apache.tools.ant.types.Environment.Variable sysp)
setBinformat
public void setBinformat(String binformat)
getBinformat
public String getBinformat()
getBintype
public String getBintype()
setBintype
public void setBintype(String bintype)
setVerbose
public void setVerbose(String verbose)
getVerbose
public String getVerbose()
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.