1 /* This file is part of the project "Hilbert II" - http://www.qedeq.org" target="alexandria_uri">http://www.qedeq.org 2 * 3 * Copyright 2000-2014, Michael Meyling <mime@qedeq.org>. 4 * 5 * "Hilbert II" is free software; you can redistribute 6 * it and/or modify it under the terms of the GNU General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 */ 15 16 package org.qedeq.kernel.bo.common; 17 18 19 20 /** 21 * QEDEQ kernel properties. 22 * 23 * @author Michael Meyling 24 */ 25 public interface KernelProperties { 26 27 /** 28 * Get relative version directory of this kernel. 29 * 30 * @return Version sub directory. 31 */ 32 public String getKernelVersionDirectory(); 33 34 /** 35 * Get build information. 36 * 37 * @return Implementation-version. 38 */ 39 public String getBuildId(); 40 41 /** 42 * Get version of this kernel. 43 * 44 * @return Kernel version. 45 */ 46 public String getKernelVersion(); 47 48 /** 49 * Get code name of this kernel. 50 * 51 * @return Kernel code name. 52 */ 53 public String getKernelCodeName(); 54 55 /** 56 * Get descriptive version information of this kernel. 57 * 58 * @return Version Information. 59 */ 60 public String getDescriptiveKernelVersion(); 61 62 /** 63 * Get dedication for this kernel. 64 * 65 * @return Kernel code dedication. 66 */ 67 public String getDedication(); 68 69 /** 70 * Get maximal supported rule version of this kernel. 71 * 72 * @return Maximal supported rule version. 73 */ 74 public String getMaximalRuleVersion(); 75 76 /** 77 * Is a given rule version supported? 78 * 79 * @param ruleVersion Check this one. 80 * @return Is the given rule version supported? 81 */ 82 public boolean isRuleVersionSupported(String ruleVersion); 83 84 /** 85 * Does {@link java.net.URLConnection} support the method <code>setConnectionTimeOut</code> 86 * in the currently running JVM. This should be true since version 1.5 but false for 1.4.2. 87 * 88 * @return Method is supported? 89 */ 90 public boolean isSetConnectionTimeOutSupported(); 91 92 /** 93 * Does {@link java.net.URLConnection} support the method <code>setReadTimeOut</code> 94 * in the currently running JVM. This should be true since version 1.5 but false for 1.4.2. 95 * 96 * @return Method is supported? 97 */ 98 public boolean isSetReadTimeoutSupported(); 99 100 }