This page (revision-11) was last changed on 17-Dec-2012 14:31 by Markus Friedrich

This page was created on 17-Dec-2012 11:41 by Markus Friedrich

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
11 17-Dec-2012 14:31 2 KB Markus Friedrich to previous
10 17-Dec-2012 14:29 1 KB Markus Friedrich to previous | to last
9 17-Dec-2012 14:29 1 KB Markus Friedrich to previous | to last
8 17-Dec-2012 14:27 1 KB Markus Friedrich to previous | to last How-To Load a knowledge base ==> How-To Load a Knowledge Base
7 17-Dec-2012 14:26 1 KB Markus Friedrich to previous | to last
6 17-Dec-2012 14:01 1 KB Markus Friedrich to previous | to last Loading a knowledge base ==> How-To Load a knowledge base
5 17-Dec-2012 14:01 1 KB Markus Friedrich to previous | to last
4 17-Dec-2012 13:42 1 KB Markus Friedrich to previous | to last How-To Initialize Plugin Manager in workspace ==> How-To Initialize Plugin Manager for JUnit Tests
3 17-Dec-2012 12:36 1 KB Markus Friedrich to previous | to last How-To Initialize Plugin Manager ==> How-To Initialize Plugin Manager in workspace
2 17-Dec-2012 12:11 1 KB Markus Friedrich to previous | to last
1 17-Dec-2012 11:41 1 KB Markus Friedrich to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 5 changed one line
We refer to [How-To Knowledge Persistence] for a detailed description of how to implement your own PersistenceHandler plugin.
We refer to [Knowledge Persistence] for a detailed description of how to implement your own PersistenceHandler plugin.
At line 7 changed one line
Of course the plugin manager has to be initialized. To run a small demo, you can use same initialization as in JUnit tests [How-To Initialize Plugin Manager for JUnit Tests]. After initialization, you are able to load the knowledge base into a KnowledgeBase instance by the following call
!! Initializing and Loading
At line 9 added 3 lines
Usually, the main application take care of loading all required plugins at start-up.
When writing your own small demo program, you need to initialize the plugins yourself by
At line 14 added 8 lines
InitPluginManager.init();
}}}
/%
After initialization, you are able to load the knowledge base into a KnowledgeBase instance by the following call
%%prettify
{{{
At line 19 changed one line
You are able to return the list of all solutions ([Solution Javadoc|https://isci.informatik.uni-wuerzburg.de/javadoc/d3web/de/d3web/core/knowledge/terminology/Solution.html]) by
You are able to return the list of all solutions ({{Solution}} instances) by
At line 23 changed one line
List<Solution> solutions = knowledgeBase.getManager().getSolutions();
List<Solution> solutions = knowledgeBase.getSolutions();
At line 31 changed one line
List<Question> questions = knowledgeBase.getManager().getQuestions();
List<Question> questions = knowledgeBase.getQuestions();
At line 46 changed one line
List<Solution> solutions = knowledgeBase.getManager().getSolutions();
List<Solution> solutions = knowledgeBase.getSolutions();
At line 49 changed one line
List<Question> questions = knowledgeBase.getManager().getQuestions();
List<Question> questions = knowledgeBase.getQuestions();
At line 55 removed 3 lines
%%tags
howto
%