Class TraitKnowledgePackageImpl

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, org.drools.base.definitions.InternalKnowledgePackage, org.kie.api.definition.KiePackage

    public class TraitKnowledgePackageImpl
    extends org.drools.mvel.MVELKnowledgePackageImpl
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.drools.mvel.MVELKnowledgePackageImpl

        classFieldAccessorStore
      • Fields inherited from class org.drools.base.definitions.impl.KnowledgePackageImpl

        accumulateFunctions, cloningResources, dialectRuntimeRegistry, entryPointsIds, factTemplates, functions, globals, imports, name, needStreamMode, resourceTypePackages, rules, staticImports, typeDeclarations, valid, windowDeclarations
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String[] getImplicitImports()  
      TraitRegistryImpl getTraitRegistry()  
      void mergeTraitRegistry​(org.drools.base.RuleBase knowledgeBase)  
      void readExternal​(java.io.ObjectInput stream)  
      void writeExternal​(java.io.ObjectOutput stream)  
      • Methods inherited from class org.drools.mvel.MVELKnowledgePackageImpl

        buildFieldAccessors, getClassFieldAccessorStore, getFieldExtractor, getFieldType, getReader, getWiringResults, mergeStore, removeClass, removeTypeFromStore, setClassFieldAccessorCache, wireObjectType, wireStore
      • Methods inherited from class org.drools.base.definitions.impl.KnowledgePackageImpl

        addAccumulateFunction, addCloningResource, addEntryPointId, addFactTemplate, addFunction, addGlobal, addImport, addProcess, addRule, addStaticImport, addTypeDeclaration, addWindowDeclaration, checkValidity, clear, deepCloneIfAlreadyInUse, equals, getAccumulateFunctions, getDialectRuntimeRegistry, getEntryPointIds, getErrorSummary, getExactTypeDeclaration, getFactTemplate, getFactType, getFactTypes, getFunction, getFunctionNames, getFunctions, getGlobals, getGlobalVariables, getImports, getName, getPackageClassLoader, getProcesses, getQueries, getResourceTypePackages, getRule, getRuleFlows, getRules, getRulesGeneratedFromResource, getRuleUnitDescriptionLoader, getStaticImports, getTypeDeclaration, getTypeDeclaration, getTypeDeclarations, getTypeResolver, getWindowDeclarations, hashCode, isValid, needsStreamMode, removeFromResourceTypePackageGeneratedFromResource, removeFunction, removeFunctionImport, removeFunctionsGeneratedFromResource, removeGlobal, removeObjectsGeneratedFromResource, removeProcessesGeneratedFromResource, removeRule, removeRuleFlow, removeRulesGeneratedFromResource, removeTypeDeclaration, removeTypesGeneratedFromResource, resetErrors, setClassLoader, setError, setNeedStreamMode, toString, wireTypeDeclarations
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TraitKnowledgePackageImpl

        public TraitKnowledgePackageImpl()
      • TraitKnowledgePackageImpl

        public TraitKnowledgePackageImpl​(java.lang.String name)
    • Method Detail

      • mergeTraitRegistry

        public void mergeTraitRegistry​(org.drools.base.RuleBase knowledgeBase)
        Specified by:
        mergeTraitRegistry in interface org.drools.base.definitions.InternalKnowledgePackage
        Overrides:
        mergeTraitRegistry in class org.drools.base.definitions.impl.KnowledgePackageImpl
      • getImplicitImports

        protected java.lang.String[] getImplicitImports()
        Overrides:
        getImplicitImports in class org.drools.base.definitions.impl.KnowledgePackageImpl
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput stream)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class org.drools.mvel.MVELKnowledgePackageImpl
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput stream)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class org.drools.mvel.MVELKnowledgePackageImpl
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException