Class TargetPlatformExtension
- java.lang.Object
-
- org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
-
- org.nuxeo.targetplatforms.api.impl.TargetExtension
-
- org.nuxeo.targetplatforms.api.impl.TargetPlatformExtension
-
- All Implemented Interfaces:
Serializable
,Comparable<TargetPlatform>
,Target
,TargetInfo
,TargetPlatform
public class TargetPlatformExtension extends TargetExtension implements TargetPlatform, Comparable<TargetPlatform>
TargetPlatform
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 TargetPlatform
origPlatform
-
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
TargetPlatformExtension()
TargetPlatformExtension(TargetPlatform orig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TargetPlatform o)
List<TargetPackage>
getAvailablePackages()
Return the list of packages available on this target platform.List<String>
getAvailablePackagesIds()
Return the list of ids of packages available on this target platform.TargetPlatform
getParent()
Returns this target platform parent or null if there is no inheritance.List<String>
getTestVersions()
Returns the list of test versions, useful for testing of multiple branches (main target platform branch or release, maintenance branch, etc...).boolean
isFastTrack()
Returns true if given target platform is a fast track-
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, 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, isOverridden, isRestricted, isTrial, matchesType
-
-
-
-
Field Detail
-
origPlatform
protected TargetPlatform origPlatform
-
-
Constructor Detail
-
TargetPlatformExtension
protected TargetPlatformExtension()
-
TargetPlatformExtension
public TargetPlatformExtension(TargetPlatform orig)
-
-
Method Detail
-
isFastTrack
public boolean isFastTrack()
Description copied from interface:TargetInfo
Returns true if given target platform is a fast track- Specified by:
isFastTrack
in interfaceTargetInfo
- Overrides:
isFastTrack
in classTargetInfoExtension
-
getAvailablePackagesIds
public List<String> getAvailablePackagesIds()
Description copied from interface:TargetPlatform
Return the list of ids of packages available on this target platform.- Specified by:
getAvailablePackagesIds
in interfaceTargetPlatform
-
getAvailablePackages
public List<TargetPackage> getAvailablePackages()
Description copied from interface:TargetPlatform
Return the list of packages available on this target platform.- Specified by:
getAvailablePackages
in interfaceTargetPlatform
-
getParent
public TargetPlatform getParent()
Description copied from interface:TargetPlatform
Returns this target platform parent or null if there is no inheritance.- Specified by:
getParent
in interfaceTargetPlatform
-
getTestVersions
public List<String> getTestVersions()
Description copied from interface:TargetPlatform
Returns the list of test versions, useful for testing of multiple branches (main target platform branch or release, maintenance branch, etc...).- Specified by:
getTestVersions
in interfaceTargetPlatform
-
compareTo
public int compareTo(TargetPlatform o)
- Specified by:
compareTo
in interfaceComparable<TargetPlatform>
-
-