Class TargetPackageExtension
- java.lang.Object
-
- org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
-
- org.nuxeo.targetplatforms.api.impl.TargetExtension
-
- org.nuxeo.targetplatforms.api.impl.TargetPackageExtension
-
- All Implemented Interfaces:
Serializable
,Comparable<TargetPackage>
,Target
,TargetInfo
,TargetPackage
public class TargetPackageExtension extends TargetExtension implements TargetPackage, Comparable<TargetPackage>
TargetPackage
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 TargetPackage
origPackage
-
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetExtension
origTarget
-
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
origInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TargetPackageExtension()
TargetPackageExtension(TargetPackage orig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TargetPackage o)
List<String>
getDependencies()
Returns the list of target packages that this target package depends on.TargetPackage
getParent()
Returns the parent target package or null if there is no inheritance.-
Methods inherited from class org.nuxeo.targetplatforms.api.impl.TargetExtension
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
-
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.Target
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
-
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
-
origPackage
protected TargetPackage origPackage
-
-
Constructor Detail
-
TargetPackageExtension
protected TargetPackageExtension()
-
TargetPackageExtension
public TargetPackageExtension(TargetPackage orig)
-
-
Method Detail
-
getDependencies
public List<String> getDependencies()
Description copied from interface:TargetPackage
Returns the list of target packages that this target package depends on.- Specified by:
getDependencies
in interfaceTargetPackage
-
getParent
public TargetPackage getParent()
Description copied from interface:TargetPackage
Returns the parent target package or null if there is no inheritance.- Specified by:
getParent
in interfaceTargetPackage
-
compareTo
public int compareTo(TargetPackage o)
- Specified by:
compareTo
in interfaceComparable<TargetPackage>
-
-