Class TargetImpl
java.lang.Object
org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
org.nuxeo.targetplatforms.api.impl.TargetImpl
- All Implemented Interfaces:
Serializable
,Target
,TargetInfo
- Direct Known Subclasses:
TargetPackageImpl
,TargetPlatformImpl
,TargetPlatformInstanceImpl
Common class to describe a target platform or package.
- Since:
- 5.7.1
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
deprecated, description, downloadLink, enabled, endOfAvailability, fastTrack, id, isDefault, label, name, overridden, refVersion, releaseDate, restricted, status, trial, types, version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
Returns true if this target reference version matches given version.boolean
Returns true if this target reference version matches given version.Methods inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getSimpleName, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType, setDefault, setDeprecated, setDescription, setDownloadLink, setEnabled, setEndOfAvailability, setFastTrack, setId, setLabel, setName, setOverridden, setRefVersion, setReleaseDate, setRestricted, setStatus, setTrial, setTypes, setVersion, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
-
Constructor Details
-
TargetImpl
protected TargetImpl() -
TargetImpl
-
TargetImpl
-
-
Method Details
-
isAfterVersion
Description copied from interface:Target
Returns true if this target reference version is or is after given version.- Specified by:
isAfterVersion
in interfaceTarget
-
isStrictlyBeforeVersion
Description copied from interface:Target
Returns true if this target reference version is strictly before given version.- Specified by:
isStrictlyBeforeVersion
in interfaceTarget
-
isVersion
Description copied from interface:Target
Returns true if this target reference version matches given version. -
isStrictlyBeforeVersion
Description copied from interface:Target
Returns true if this target reference version is strictly before given version.- Specified by:
isStrictlyBeforeVersion
in interfaceTarget
-
isAfterVersion
Description copied from interface:Target
Returns true if this target reference version is or is after given version.- Specified by:
isAfterVersion
in interfaceTarget
-
isVersion
Description copied from interface:Target
Returns true if this target reference version matches given version.
-