org.drools.eclipse.core
Class DroolsModelBuilder
java.lang.Object
org.drools.eclipse.core.DroolsModelBuilder
public class DroolsModelBuilder
- extends Object
|
Method Summary |
static void |
addExpander(Package pkg,
String expanderName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
|
static Function |
addFunction(Package pkg,
String functionName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
|
static Global |
addGlobal(Package pkg,
String globalName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
|
static void |
addImport(Package pkg,
String importClass,
org.eclipse.core.resources.IFile file,
int offset,
int length)
|
static Package |
addPackage(RuleSet ruleSet,
String packageName,
int offset,
int length)
|
static Process |
addProcess(Package pkg,
String processId,
org.eclipse.core.resources.IFile file)
|
static Query |
addQuery(Package pkg,
String queryName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
|
static Rule |
addRule(Package pkg,
String ruleName,
org.eclipse.core.resources.IFile file,
int offset,
int length,
Map attributes)
|
static Template |
addTemplate(Package pkg,
String templateName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
|
static void |
clearRuleSet(RuleSet ruleSet)
|
static Package |
createPackage(String packageName,
int offset,
int length)
|
static RuleSet |
createRuleSet()
|
static void |
removeElement(DroolsElement element)
|
static void |
removeExpander(Expander expander)
|
static void |
removeFunction(Function function)
|
static void |
removeGlobal(Global global)
|
static void |
removeImport(Import imp)
|
static void |
removePackage(Package pkg)
|
static void |
removeProcess(Process process)
|
static void |
removeQuery(Query query)
|
static void |
removeRule(Rule rule)
|
static void |
removeTemplate(Template template)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DroolsModelBuilder
public DroolsModelBuilder()
createRuleSet
public static RuleSet createRuleSet()
createPackage
public static Package createPackage(String packageName,
int offset,
int length)
addPackage
public static Package addPackage(RuleSet ruleSet,
String packageName,
int offset,
int length)
removePackage
public static void removePackage(Package pkg)
clearRuleSet
public static void clearRuleSet(RuleSet ruleSet)
addRule
public static Rule addRule(Package pkg,
String ruleName,
org.eclipse.core.resources.IFile file,
int offset,
int length,
Map attributes)
removeRule
public static void removeRule(Rule rule)
addFunction
public static Function addFunction(Package pkg,
String functionName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
removeFunction
public static void removeFunction(Function function)
addExpander
public static void addExpander(Package pkg,
String expanderName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
removeExpander
public static void removeExpander(Expander expander)
addImport
public static void addImport(Package pkg,
String importClass,
org.eclipse.core.resources.IFile file,
int offset,
int length)
removeImport
public static void removeImport(Import imp)
addGlobal
public static Global addGlobal(Package pkg,
String globalName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
removeGlobal
public static void removeGlobal(Global global)
addQuery
public static Query addQuery(Package pkg,
String queryName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
removeQuery
public static void removeQuery(Query query)
addTemplate
public static Template addTemplate(Package pkg,
String templateName,
org.eclipse.core.resources.IFile file,
int offset,
int length)
removeTemplate
public static void removeTemplate(Template template)
addProcess
public static Process addProcess(Package pkg,
String processId,
org.eclipse.core.resources.IFile file)
removeProcess
public static void removeProcess(Process process)
removeElement
public static void removeElement(DroolsElement element)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.