Package org.evrete.dsl
Class JavaDSLSourceProvider
java.lang.Object
org.evrete.dsl.JavaDSLSourceProvider
- All Implemented Interfaces:
DSLKnowledgeProvider
public class JavaDSLSourceProvider extends Object
-
Constructor Summary
Constructors Constructor Description JavaDSLSourceProvider() -
Method Summary
Modifier and Type Method Description voidapply(RuntimeContext<?> targetContext, InputStream... streams)voidapply(RuntimeContext<?> targetContext, Reader... readers)voidapply(RuntimeContext<?> targetContext, URL... resources)Knowledgecreate(KnowledgeService service, URL... resources)StringgetName()
-
Constructor Details
-
JavaDSLSourceProvider
public JavaDSLSourceProvider()
-
-
Method Details
-
getName
-
create
- Throws:
IOException
-
apply
- Throws:
IOException
-
apply
- Throws:
IOException
-
apply
- Specified by:
applyin interfaceDSLKnowledgeProvider- Throws:
IOException
-