|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.drools.contrib.DroolsCompilerAntTask
public class DroolsCompilerAntTask
An ant task to allow rulebase compilation and serialization during a build.
Field Summary | |
---|---|
static java.lang.String |
BRLFILEEXTENSION
|
static java.lang.String |
DSLFILEEXTENSION
|
static java.lang.String |
PACKAGEBINFORMAT
|
static java.lang.String |
RULEFLOWFILEEXTENSION
|
static java.lang.String |
XLSFILEEXTENSION
|
static java.lang.String |
XMLFILEEXTENSION
|
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 | |
---|---|
DroolsCompilerAntTask()
|
Method Summary | |
---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Adds a path to the classpath. |
void |
execute()
Task's main method |
java.lang.String |
getBinformat()
|
void |
setBinformat(java.lang.String binformat)
|
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(java.io.File directory)
Source directory to read DRL files from |
void |
setToFile(java.io.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 |
---|
public static java.lang.String BRLFILEEXTENSION
public static java.lang.String XMLFILEEXTENSION
public static java.lang.String RULEFLOWFILEEXTENSION
public static java.lang.String DSLFILEEXTENSION
public static java.lang.String XLSFILEEXTENSION
public static java.lang.String PACKAGEBINFORMAT
Constructor Detail |
---|
public DroolsCompilerAntTask()
Method Detail |
---|
public void setSrcDir(java.io.File directory)
directory
- public void setToFile(java.io.File toFile)
toFile
- public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath
- public void setClasspathref(org.apache.tools.ant.types.Reference r)
a
- reference to an existing classpathpublic org.apache.tools.ant.types.Path createClasspath()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setBinformat(java.lang.String binformat)
public java.lang.String getBinformat()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |