01: /*
02: * $Id: org.eclipse.jdt.ui.prefs,v 1.6 2006/02/06 08:27:03 ivaynberg Exp $
03: * $Revision: 1.6 $ $Date: 2006/02/06 08:27:03 $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.settings;
19:
20: /**
21: * Framework settings for retrieving and configuring framework settings.
22: *
23: * @author Martijn Dashorst
24: */
25: public interface IFrameworkSettings {
26: /**
27: * Gets the Wicket version. The Wicket version is in the same format as the
28: * version element in the pom.xml file (project descriptor). The version is
29: * generated by maven in the build/release cycle and put in the wicket.properties
30: * file located in the root folder of the Wicket jar.
31: *
32: * The version usually follows one of the following formats:
33: * <ul>
34: * <li>major.minor[.bug] for stable versions. 1.1, 1.2, 1.2.1 are examples</li>
35: * <li>major.minor-state for development versions. 1.2-beta2, 1.3-SNAPSHOT are examples</li>
36: * </ul>
37: *
38: * @return the Wicket version
39: */
40: public String getVersion();
41: }
|