jmri
Class Version

java.lang.Object
  extended by jmri.Version

public class Version
extends Object

Defines a simple place to get the JMRI version string.

These JavaDocs are for Version 2.11.9 of JMRI.


This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Author:
Bob Jacobsen Copyright 2000 - 2011

Field Summary
static int major
          Major number changes with large incompatible changes in requirements or API.
static int minor
          Minor number changes with each production release.
static String modifier
           
static int test
           
 
Constructor Summary
Version()
           
 
Method Summary
static void main(String[] args)
          Standalone print of version string and exit.
static String name()
          Provide the current version string in I.J.Kmod format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

major

public static final int major
Major number changes with large incompatible changes in requirements or API.

See Also:
Constant Field Values

minor

public static final int minor
Minor number changes with each production release. Odd is development, even is production.

See Also:
Constant Field Values

test

public static final int test
See Also:
Constant Field Values

modifier

public static final String modifier
See Also:
Constant Field Values
Constructor Detail

Version

public Version()
Method Detail

name

public static String name()
Provide the current version string in I.J.Kmod format.

This is manually maintained by updating it before each release is built.

Returns:
The current version string

main

public static void main(String[] args)
Standalone print of version string and exit.



Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads