Package org.nuxeo.targetplatforms.api
Interface Target
-
- All Superinterfaces:
Serializable
,TargetInfo
- All Known Subinterfaces:
TargetPackage
,TargetPlatform
,TargetPlatformInstance
- All Known Implementing Classes:
TargetExtension
,TargetImpl
,TargetPackageExtension
,TargetPackageImpl
,TargetPlatformExtension
,TargetPlatformImpl
,TargetPlatformInstanceExtension
,TargetPlatformInstanceImpl
public interface Target extends TargetInfo
Represents a target (platform or package).- Since:
- 5.7.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAfterVersion(String version)
Returns true if this target reference version is or is after given version.boolean
isAfterVersion(Target version)
Returns true if this target reference version is or is after given version.boolean
isStrictlyBeforeVersion(String version)
Returns true if this target reference version is strictly before given version.boolean
isStrictlyBeforeVersion(Target version)
Returns true if this target reference version is strictly before given version.boolean
isVersion(String version)
Returns true if this target reference version matches given version.boolean
isVersion(Target version)
Returns true if this target reference version matches given version.-
Methods inherited from interface org.nuxeo.targetplatforms.api.TargetInfo
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType
-
-
-
-
Method Detail
-
isStrictlyBeforeVersion
boolean isStrictlyBeforeVersion(String version)
Returns true if this target reference version is strictly before given version.
-
isAfterVersion
boolean isAfterVersion(String version)
Returns true if this target reference version is or is after given version.
-
isVersion
boolean isVersion(String version)
Returns true if this target reference version matches given version.
-
isStrictlyBeforeVersion
boolean isStrictlyBeforeVersion(Target version)
Returns true if this target reference version is strictly before given version.
-
isAfterVersion
boolean isAfterVersion(Target version)
Returns true if this target reference version is or is after given version.
-
isVersion
boolean isVersion(Target version)
Returns true if this target reference version matches given version.
-
-