svn-gvsig-desktop / branches / v2_0_0_prep / extensions / org.gvsig.installer / org.gvsig.installer.lib / org.gvsig.installer.lib.api / src / main / java / org / gvsig / installer / lib / api / Dependency.java @ 37857
History | View | Annotate | Download (490 Bytes)
1 |
package org.gvsig.installer.lib.api; |
---|---|
2 |
|
3 |
import org.gvsig.tools.lang.Cloneable; |
4 |
|
5 |
public interface Dependency extends Cloneable { |
6 |
|
7 |
public final String REQUIRED = "required"; |
8 |
public final String CONFLICT = "conflict"; |
9 |
public final String RECOMMENDED = "recommended"; |
10 |
|
11 |
public Dependency parse(String dependency); |
12 |
|
13 |
public String getType(); |
14 |
|
15 |
public String getCode(); |
16 |
|
17 |
public String getOp(); |
18 |
|
19 |
public Version getVersion();
|
20 |
|
21 |
public boolean match(String type, String code, Version version); |
22 |
} |