Class TargetExtension
- java.lang.Object
-
- org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
-
- org.nuxeo.targetplatforms.api.impl.TargetExtension
-
- All Implemented Interfaces:
Serializable
,Target
,TargetInfo
- Direct Known Subclasses:
TargetPackageExtension
,TargetPlatformExtension
,TargetPlatformInstanceExtension
public class TargetExtension extends TargetInfoExtension implements Target
Target
implementation relying on an original implementation, useful for override when adding additional metadata.- Since:
- 5.7.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Target
origTarget
-
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
origInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TargetExtension()
TargetExtension(Target orig)
-
Method Summary
All Methods Instance Methods Concrete 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 class org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getSimpleName, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType, 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
-
-
-
-
Field Detail
-
origTarget
protected Target origTarget
-
-
Constructor Detail
-
TargetExtension
protected TargetExtension()
-
TargetExtension
public TargetExtension(Target orig)
-
-
Method Detail
-
isAfterVersion
public boolean isAfterVersion(String version)
Description copied from interface:Target
Returns true if this target reference version is or is after given version.- Specified by:
isAfterVersion
in interfaceTarget
-
isStrictlyBeforeVersion
public boolean isStrictlyBeforeVersion(String version)
Description copied from interface:Target
Returns true if this target reference version is strictly before given version.- Specified by:
isStrictlyBeforeVersion
in interfaceTarget
-
isVersion
public boolean isVersion(String version)
Description copied from interface:Target
Returns true if this target reference version matches given version.
-
isStrictlyBeforeVersion
public boolean isStrictlyBeforeVersion(Target version)
Description copied from interface:Target
Returns true if this target reference version is strictly before given version.- Specified by:
isStrictlyBeforeVersion
in interfaceTarget
-
isAfterVersion
public boolean isAfterVersion(Target version)
Description copied from interface:Target
Returns true if this target reference version is or is after given version.- Specified by:
isAfterVersion
in interfaceTarget
-
-