gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.lib / src / main / java / org / gvsig / installer / lib / api / Version.java @ 718
History | View | Annotate | Download (760 Bytes)
1 |
package org.gvsig.installer.lib.api; |
---|---|
2 |
|
3 |
import org.gvsig.tools.lang.Cloneable; |
4 |
|
5 |
|
6 |
/**
|
7 |
*
|
8 |
* Este interface se mantiene aqui por compatibilidad con versiones anteriores.
|
9 |
*
|
10 |
* @see #org.gvsig.tools.packageutils.Version
|
11 |
* @deprecated use #org.gvsig.tools.packageutils.Version
|
12 |
*
|
13 |
*/
|
14 |
public interface Version extends Cloneable { |
15 |
|
16 |
public Version parse(String version); |
17 |
|
18 |
public int getMajor(); |
19 |
|
20 |
/**
|
21 |
* @deprecated Use {@link #getMajor()}
|
22 |
*/
|
23 |
public int getMayor(); |
24 |
|
25 |
public int getMinor(); |
26 |
|
27 |
public int getRevision(); |
28 |
|
29 |
public String getClassifier(); |
30 |
|
31 |
public int getBuild(); |
32 |
|
33 |
public boolean check(String op, Version other); |
34 |
|
35 |
public String fullFormat(); |
36 |
|
37 |
/**
|
38 |
* @deprecated don't use, set only in parse
|
39 |
*/
|
40 |
public Version setBuild(int build); |
41 |
|
42 |
} |