org.qedeq.kernel.bo.common
Class BasicKernel

java.lang.Object
  extended by org.qedeq.kernel.bo.common.BasicKernel
All Implemented Interfaces:
KernelProperties

public final class BasicKernel
extends java.lang.Object
implements KernelProperties

This class provides basic informations about the kernel.

Author:
Michael Meyling

Constructor Summary
BasicKernel()
          Constructor.
 
Method Summary
 java.lang.String getBuildId()
          Get build information.
 java.lang.String getDedication()
          Get dedication for this kernel.
 java.lang.String getDescriptiveKernelVersion()
          Get descriptive version information of this kernel.
 java.lang.String getKernelCodeName()
          Get code name of this kernel.
 java.lang.String getKernelVersion()
          Get version of this kernel.
 java.lang.String getKernelVersionDirectory()
          Get relative version directory of this kernel.
 java.lang.String getMaximalRuleVersion()
          Get maximal supported rule version of this kernel.
 boolean isRuleVersionSupported(java.lang.String ruleVersion)
          Is a given rule version supported?
 boolean isSetConnectionTimeOutSupported()
          Does URLConnection support the method setConnectionTimeOut in the currently running JVM.
 boolean isSetReadTimeoutSupported()
          Does URLConnection support the method setReadTimeOut in the currently running JVM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicKernel

public BasicKernel()
Constructor.

Method Detail

getBuildId

public java.lang.String getBuildId()
Description copied from interface: KernelProperties
Get build information.

Specified by:
getBuildId in interface KernelProperties
Returns:
Implementation-version.

getKernelVersion

public final java.lang.String getKernelVersion()
Description copied from interface: KernelProperties
Get version of this kernel.

Specified by:
getKernelVersion in interface KernelProperties
Returns:
Kernel version.

getKernelCodeName

public final java.lang.String getKernelCodeName()
Description copied from interface: KernelProperties
Get code name of this kernel.

Specified by:
getKernelCodeName in interface KernelProperties
Returns:
Kernel code name.

getKernelVersionDirectory

public final java.lang.String getKernelVersionDirectory()
Description copied from interface: KernelProperties
Get relative version directory of this kernel.

Specified by:
getKernelVersionDirectory in interface KernelProperties
Returns:
Version sub directory.

getDescriptiveKernelVersion

public final java.lang.String getDescriptiveKernelVersion()
Description copied from interface: KernelProperties
Get descriptive version information of this kernel.

Specified by:
getDescriptiveKernelVersion in interface KernelProperties
Returns:
Version Information.

getDedication

public final java.lang.String getDedication()
Description copied from interface: KernelProperties
Get dedication for this kernel.

Specified by:
getDedication in interface KernelProperties
Returns:
Kernel code dedication.

getMaximalRuleVersion

public final java.lang.String getMaximalRuleVersion()
Description copied from interface: KernelProperties
Get maximal supported rule version of this kernel.

Specified by:
getMaximalRuleVersion in interface KernelProperties
Returns:
Maximal supported rule version.

isRuleVersionSupported

public final boolean isRuleVersionSupported(java.lang.String ruleVersion)
Description copied from interface: KernelProperties
Is a given rule version supported?

Specified by:
isRuleVersionSupported in interface KernelProperties
Parameters:
ruleVersion - Check this one.
Returns:
Is the given rule version supported?

isSetConnectionTimeOutSupported

public boolean isSetConnectionTimeOutSupported()
Description copied from interface: KernelProperties
Does URLConnection support the method setConnectionTimeOut in the currently running JVM. This should be true since version 1.5 but false for 1.4.2.

Specified by:
isSetConnectionTimeOutSupported in interface KernelProperties
Returns:
Method is supported?

isSetReadTimeoutSupported

public boolean isSetReadTimeoutSupported()
Description copied from interface: KernelProperties
Does URLConnection support the method setReadTimeOut in the currently running JVM. This should be true since version 1.5 but false for 1.4.2.

Specified by:
isSetReadTimeoutSupported in interface KernelProperties
Returns:
Method is supported?


Copyright © 2014. All Rights Reserved.