|
Knowledge API Legacy5 Adapter 6.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.impl.adapters.KnowledgePackageAdapter
public class KnowledgePackageAdapter
| Constructor Summary | |
|---|---|
KnowledgePackageAdapter(org.kie.internal.definition.KnowledgePackage delegate)
|
|
| Method Summary | |
|---|---|
static List<KnowledgePackage> |
adaptKnowledgePackages(Collection<org.kie.internal.definition.KnowledgePackage> pkgs)
|
static Collection<org.kie.internal.definition.KnowledgePackage> |
fromKiePackages(Collection<KnowledgePackage> pkgs)
|
org.kie.internal.definition.KnowledgePackage |
getDelegate()
|
Collection<FactType> |
getFactTypes()
Return the fact types declared in this package The collection is immutable. |
Collection<String> |
getFunctionNames()
Return the names of the functions defined in this package. |
Collection<Global> |
getGlobalVariables()
Return the names of the globals defined in this package. |
String |
getName()
The namespace for this package |
Collection<Process> |
getProcesses()
Return the process definitions for this package. |
Collection<Query> |
getQueries()
Return the query definitions for this package. |
Collection<Rule> |
getRules()
Return the rule definitions for this package. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KnowledgePackageAdapter(org.kie.internal.definition.KnowledgePackage delegate)
| Method Detail |
|---|
public String getName()
KnowledgePackage
getName in interface KnowledgePackagepublic Collection<Rule> getRules()
KnowledgePackage
getRules in interface KnowledgePackagepublic Collection<Process> getProcesses()
KnowledgePackage
getProcesses in interface KnowledgePackagepublic Collection<FactType> getFactTypes()
KnowledgePackage
getFactTypes in interface KnowledgePackagepublic Collection<Query> getQueries()
KnowledgePackage
getQueries in interface KnowledgePackagepublic Collection<String> getFunctionNames()
KnowledgePackage
getFunctionNames in interface KnowledgePackagepublic Collection<Global> getGlobalVariables()
KnowledgePackage
getGlobalVariables in interface KnowledgePackagepublic org.kie.internal.definition.KnowledgePackage getDelegate()
public static List<KnowledgePackage> adaptKnowledgePackages(Collection<org.kie.internal.definition.KnowledgePackage> pkgs)
public static Collection<org.kie.internal.definition.KnowledgePackage> fromKiePackages(Collection<KnowledgePackage> pkgs)
|
Knowledge API Legacy5 Adapter 6.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||