public interface Dependency extends Cloneable, Dependency
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFLICT |
static java.lang.String |
RECOMMENDED |
static java.lang.String |
REQUIRED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
java.lang.String |
getOp() |
java.lang.String |
getType() |
Version |
getVersion() |
boolean |
match(java.lang.String type,
java.lang.String code,
Version version) |
Dependency |
parse(java.lang.String dependency) |
match
clone, cloneQuietly, cloneQuietly
static final java.lang.String REQUIRED
static final java.lang.String CONFLICT
static final java.lang.String RECOMMENDED
Dependency parse(java.lang.String dependency)
parse
in interface Dependency
java.lang.String getType()
getType
in interface Dependency
java.lang.String getCode()
getCode
in interface Dependency
java.lang.String getOp()
getOp
in interface Dependency
Version getVersion()
getVersion
in interface Dependency
boolean match(java.lang.String type, java.lang.String code, Version version)
match
in interface Dependency