Package org.projog.core.kb
Class ProjogDefaultProperties
- java.lang.Object
-
- org.projog.core.kb.ProjogDefaultProperties
-
- All Implemented Interfaces:
ProjogProperties
public class ProjogDefaultProperties extends java.lang.Object implements ProjogProperties
Implementation ofProjogPropertieswith hard-coded values.This class exists as a convenience for creating custom implementations of
TODO if this project is upgraded from Java 7 then this class can be removed and its functionality implemented as default methods of the ProjogProperties interface.ProjogProperties. Custom implementations can extend this class and just override the method(s) they require to be different, rather than implementingProjogPropertiesdirectly.
-
-
Field Summary
-
Fields inherited from interface org.projog.core.kb.ProjogProperties
DEFAULT_BOOTSTRAP_SCRIPT
-
-
Constructor Summary
Constructors Constructor Description ProjogDefaultProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBootstrapScript()
-
-
-
Method Detail
-
getBootstrapScript
public java.lang.String getBootstrapScript()
- Specified by:
getBootstrapScriptin interfaceProjogProperties- Returns:
- the name of the resource loaded by
KnowledgeBaseUtils.bootstrap(KnowledgeBase) - See Also:
KnowledgeBaseUtils.bootstrap(KnowledgeBase)
-
-