Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## madkit.pluginmanager
Class Version

    java.lang.Object
      madkit.pluginmanager.Version

    public class Version

extends java.lang.Object

Simple class to keep track of version incompatibilities.

Version:
  $Revision: 1.1 $
Author:
  Sebastian Rodriguez -- sebastian.rodriguez@utbm.fr

Constructor Summary
`Version(int major, int minor, int release)`

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`int` | `getMajorVersion()`
`int` | `getMinorVersion()`
`int` | `getReleaseVersion()`
`boolean` | `isHigher(Version v)` Return true if the `v` is higher than this version
`java.lang.String` | `toString()`
`static Version` | `valueOf(java.lang.String string)` creates a version object reprented by the String `string`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Version

    public Version(int major,
                   int minor,
                   int release)

Method Detail

### isHigher

    public boolean isHigher(Version v)

  Return true if the `v` is higher than this version

  Parameters:
    `v` -
  Returns:

### getMajorVersion

    public int getMajorVersion()

### getMinorVersion

    public int getMinorVersion()

### getReleaseVersion

    public int getReleaseVersion()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### valueOf

    public static Version valueOf(java.lang.String string)

  creates a version object reprented by the String `string`

  Parameters:
    `string` -
  Returns:

### equals

    public boolean equals(java.lang.Object obj)

  Overrides:
    `equals` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.