Package org.drools.io

Class KnowledgeResource


  • public class KnowledgeResource
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      KnowledgeResource​(java.lang.String src, org.kie.api.io.ResourceType type)  
      KnowledgeResource​(java.lang.String src, org.kie.api.io.ResourceType type, org.kie.api.io.ResourceConfiguration configuration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.kie.api.io.ResourceConfiguration getConfiguration()  
      java.lang.String getSource()  
      org.kie.api.io.ResourceType getType()  
      void setConfiguration​(org.kie.api.io.ResourceConfiguration configuration)  
      void setSource​(java.lang.String src)  
      void setType​(org.kie.api.io.ResourceType type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KnowledgeResource

        public KnowledgeResource​(java.lang.String src,
                                 org.kie.api.io.ResourceType type)
      • KnowledgeResource

        public KnowledgeResource​(java.lang.String src,
                                 org.kie.api.io.ResourceType type,
                                 org.kie.api.io.ResourceConfiguration configuration)
    • Method Detail

      • getSource

        public java.lang.String getSource()
      • setSource

        public void setSource​(java.lang.String src)
      • getType

        public org.kie.api.io.ResourceType getType()
      • setType

        public void setType​(org.kie.api.io.ResourceType type)
      • getConfiguration

        public org.kie.api.io.ResourceConfiguration getConfiguration()
      • setConfiguration

        public void setConfiguration​(org.kie.api.io.ResourceConfiguration configuration)