SynSoft Java Standard Library

synsoft.org


org.synsoft.base.version
Interface Version


public interface Version

This interface describes the behaviour whereby classes may express their implementation version, in the form of major.minor.revision.edit.


Field Summary
static Version scm_version
          Constant instance of version information for interface.
 
Method Summary
 int getEdit()
          Returns the version edit level.
 int getMajor()
          Returns the major version level.
 int getMinor()
          Returns the minor version level.
 int getRevision()
          Returns the version revision level.
 

Field Detail

scm_version

public static final Version scm_version
Constant instance of version information for interface.
Method Detail

getMajor

public int getMajor()
Returns the major version level. Changes to this level indicate that client code will need to be substantially rewritten in order to adapt to the new version.
Returns:
integer representing major version level.

getMinor

public int getMinor()
Returns the minor version level. Changes to this level indicate that client code will need to be undergo slight modifications in order to adapt to the new version.
Returns:
integer representing minor version level.

getRevision

public int getRevision()
Returns the version revision level. Changes to this level indicate that client code will need to be recompiled in order to adapt to the new version.
Returns:
integer representing version revision level.

getEdit

public int getEdit()
Returns the version edit level. Changes to this level indicate that client code will not be affected in any way that would require recompilation in order to adapt to the new version.
Returns:
integer representing version edit level.

version 2.0.1.231

Copyright © Synesis Software. Licensed according to the Synesis Software Standard Public License