Class TargetPlatformInstanceExtension
java.lang.Object
org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
org.nuxeo.targetplatforms.api.impl.TargetExtension
org.nuxeo.targetplatforms.api.impl.TargetPlatformInstanceExtension
- All Implemented Interfaces:
Serializable
,Target
,TargetInfo
,TargetPlatformInstance
public class TargetPlatformInstanceExtension
extends TargetExtension
implements TargetPlatformInstance
TargetPlatform
implementation relying on an original implementation, useful for override when adding
additional metadata.- Since:
- 5.7.1
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetExtension
origTarget
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
origInfo
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionReturn the list of packages enabled on this target platform.Return the list of ids of packages enabled on this target platform.Returns this target platform parent or null if there is no inheritance.boolean
hasEnabledPackageWithName
(String packageName) Checks if there is any enabled package with the name packageName.boolean
Returns true if given target platform is a fast trackMethods 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 Details
-
origInstance
-
-
Constructor Details
-
TargetPlatformInstanceExtension
protected TargetPlatformInstanceExtension() -
TargetPlatformInstanceExtension
-
-
Method Details
-
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
-
getEnabledPackagesIds
Description copied from interface:TargetPlatformInstance
Return the list of ids of packages enabled on this target platform.- Specified by:
getEnabledPackagesIds
in interfaceTargetPlatformInstance
-
getEnabledPackages
Description copied from interface:TargetPlatformInstance
Return the list of packages enabled on this target platform.- Specified by:
getEnabledPackages
in interfaceTargetPlatformInstance
-
hasEnabledPackageWithName
Description copied from interface:TargetPlatformInstance
Checks if there is any enabled package with the name packageName.- Specified by:
hasEnabledPackageWithName
in interfaceTargetPlatformInstance
-
getParent
Description copied from interface:TargetPlatformInstance
Returns this target platform parent or null if there is no inheritance.- Specified by:
getParent
in interfaceTargetPlatformInstance
-