gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.lib / src / main / java / org / gvsig / installer / lib / api / Dependency.java @ 715
History | View | Annotate | Download (772 Bytes)
1 |
package org.gvsig.installer.lib.api; |
---|---|
2 |
|
3 |
import org.gvsig.tools.lang.Cloneable; |
4 |
import org.gvsig.tools.packageutils.Version;; |
5 |
|
6 |
|
7 |
/**
|
8 |
*
|
9 |
* Este interface se mantiene aqui por compatibilidad con versiones anteriores.
|
10 |
*
|
11 |
* @see #org.gvsig.tools.packageutils.Dependency
|
12 |
* @deprecated use #org.gvsig.tools.packageutils.Dependency
|
13 |
*/
|
14 |
public interface Dependency extends Cloneable { |
15 |
|
16 |
public final String REQUIRED = "required"; |
17 |
public final String CONFLICT = "conflict"; |
18 |
public final String RECOMMENDED = "recommended"; |
19 |
|
20 |
public org.gvsig.tools.packageutils.Dependency parse(String dependency); |
21 |
|
22 |
public String getType(); |
23 |
|
24 |
public String getCode(); |
25 |
|
26 |
public String getOp(); |
27 |
|
28 |
public Version getVersion();
|
29 |
|
30 |
public boolean match(String type, String code, Version version); |
31 |
} |