@Incubating public interface VersionConstraint
Modifier and Type | Method and Description |
---|---|
String |
getBranch()
The branch to select versions from.
|
String |
getPreferredVersion()
The preferred version of a module (which may be an exact version or a version range).
|
List<String> |
getRejectedVersions()
Returns the list of versions that this module rejects (which may be exact versions, or ranges, anything that fits into a version string).
|
String |
getRequiredVersion()
The required version of a module (which may be an exact version or a version range).
|
String |
getStrictVersion()
The strictly required version of a module (which may be an exact version or a version range).
|
@Nullable String getBranch()
null
selects only those versions that were built from the specified branch.String getRequiredVersion()
String getPreferredVersion()
String getStrictVersion()