|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalKernelServices
The kernel internal service methods are assembled here. Needed by the kernel and its helpers.
| Method Summary | |
|---|---|
boolean |
checkFormallyProved(InternalServiceJob process,
KernelQedeqBo qedeq)
Check if all propositions of this and all required modules have correct formal proofs. |
boolean |
checkWellFormedness(InternalServiceJob process,
KernelQedeqBo qedeq)
Check if all formulas of a QEDEQ module and its required modules are well formed. |
SourceFileExceptionList |
createSourceFileExceptionList(int code,
java.lang.String message,
java.lang.String address,
java.lang.Exception e)
Creates a list with a SourceFileException with dummy
position. |
SourceFileExceptionList |
createSourceFileExceptionList(int code,
java.lang.String message,
java.lang.String address,
java.io.IOException e)
Creates a list with a SourceFileException with dummy
position. |
SourceFileExceptionList |
createSourceFileExceptionList(int code,
java.lang.String message,
java.lang.String address,
java.lang.RuntimeException e)
Creates a list with a SourceFileException with dummy
position. |
java.lang.Object |
executePlugin(InternalServiceJob parent,
java.lang.String id,
KernelQedeqBo qedeq,
java.lang.Object data)
Execute plugin on given QEDEQ module. |
java.io.File |
getBufferDirectory()
Get buffer directory for QEDEQ module files. |
QedeqConfig |
getConfig()
Get access to configuration parameters. |
ContextChecker |
getContextChecker()
Get context checker. |
java.io.File |
getGenerationDirectory()
Get directory for generated files. |
KernelQedeqBo |
getKernelQedeqBo(ModuleAddress address)
Get KernelQedeqBo for an address. |
java.io.File |
getLocalFilePath(ModuleAddress address)
Transform an URL address into a local file path where the QEDEQ module is buffered. |
QedeqFileDao |
getQedeqFileDao()
Get DAO for reading and writing QEDEQ modules from or to a file. |
KernelQedeqBo |
loadKernelModule(InternalServiceJob process,
ModuleAddress address)
Load QEDEQ module. |
KernelQedeqBo |
loadKernelModule(InternalServiceJob process,
ModuleAddress parent,
Specification spec)
Load specified QEDEQ module from QEDEQ parent module. |
boolean |
loadRequiredModules(InternalServiceJob process,
KernelQedeqBo qedeq)
Get required modules of given module. |
| Methods inherited from interface org.qedeq.kernel.bo.common.KernelProperties |
|---|
getBuildId, getDedication, getDescriptiveKernelVersion, getKernelCodeName, getKernelVersion, getKernelVersionDirectory, getMaximalRuleVersion, isRuleVersionSupported, isSetConnectionTimeOutSupported, isSetReadTimeoutSupported |
| Method Detail |
|---|
QedeqConfig getConfig()
java.io.File getBufferDirectory()
java.io.File getGenerationDirectory()
KernelQedeqBo getKernelQedeqBo(ModuleAddress address)
KernelQedeqBo for an address.
address - Look for this address.
KernelQedeqBo. Never null.java.io.File getLocalFilePath(ModuleAddress address)
address - Get local address for this QEDEQ module address.
address.
KernelQedeqBo loadKernelModule(InternalServiceJob process,
ModuleAddress address)
throws InterruptException
process - Working process.address - Load module from this address.
InterruptException - User canceled request.
KernelQedeqBo loadKernelModule(InternalServiceJob process,
ModuleAddress parent,
Specification spec)
throws SourceFileExceptionList,
InterruptException
process - Working process.parent - Parent module address.spec - Specification for another QEDEQ module.
SourceFileExceptionList - Loading failed.
InterruptException - User canceled request.
boolean loadRequiredModules(InternalServiceJob process,
KernelQedeqBo qedeq)
throws InterruptException
process - Working process.qedeq - Module to check.
InterruptException - User canceled request.
boolean checkWellFormedness(InternalServiceJob process,
KernelQedeqBo qedeq)
throws InterruptException
process - Working process.qedeq - Module to check.
InterruptException - User canceled request.
boolean checkFormallyProved(InternalServiceJob process,
KernelQedeqBo qedeq)
throws InterruptException
process - Working process.qedeq - Module to check.
InterruptException - Process execution was canceled by user.
java.lang.Object executePlugin(InternalServiceJob parent,
java.lang.String id,
KernelQedeqBo qedeq,
java.lang.Object data)
throws InterruptException
parent - Parent service process. Must not be nullid - Plugin id.qedeq - QEDEQ module.data - Process data. Additional data beside module.
null.
InterruptException - Process execution was canceled by user.
java.lang.NullPointerException - parent was null.QedeqFileDao getQedeqFileDao()
SourceFileExceptionList createSourceFileExceptionList(int code,
java.lang.String message,
java.lang.String address,
java.io.IOException e)
SourceFileException with dummy
position.
address - This source had a problem.code - Failure code.message - Textual description of failure.e - Wrapped exception.
SourceFileExceptionList createSourceFileExceptionList(int code,
java.lang.String message,
java.lang.String address,
java.lang.RuntimeException e)
SourceFileException with dummy
position.
address - This source had a problem.code - Failure code.message - Textual description of failure.e - Wrapped exception.
SourceFileExceptionList createSourceFileExceptionList(int code,
java.lang.String message,
java.lang.String address,
java.lang.Exception e)
SourceFileException with dummy
position.
address - This source had a problem.code - Failure code.message - Textual description of failure.e - Wrapped exception.
ContextChecker getContextChecker()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||