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 [Knowledge Persistence] for a detailed description of how to implement your own PersistenceHandler plugin.
We refer to [How-To Knowledge Persistence] for a detailed description of how to implement your own PersistenceHandler plugin.
At line 7 changed one line
!! Initializing and Loading
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
At line 9 removed 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 removed 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 30 changed one line
You are able to return the list of all solutions ({{Solution}} instances) by
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
At line 34 changed one line
List<Solution> solutions = knowledgeBase.getSolutions();
List<Solution> solutions = knowledgeBase.getManager().getSolutions();
At line 42 changed one line
List<Question> questions = knowledgeBase.getQuestions();
List<Question> questions = knowledgeBase.getManager().getQuestions();
At line 57 changed one line
List<Solution> solutions = knowledgeBase.getSolutions();
List<Solution> solutions = knowledgeBase.getManager().getSolutions();
At line 60 changed one line
List<Question> questions = knowledgeBase.getQuestions();
List<Question> questions = knowledgeBase.getManager().getQuestions();
At line 55 added 3 lines
%%tags
howto
%