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
TargetPlatformimplementation 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 TargetPlatformInstanceorigInstance-
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 protectedTargetPlatformInstanceExtension()TargetPlatformInstanceExtension(TargetPlatformInstance orig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,TargetPackage>getEnabledPackages()Return the list of packages enabled on this target platform.List<String>getEnabledPackagesIds()Return the list of ids of packages enabled on this target platform.TargetPlatformgetParent()Returns this target platform parent or null if there is no inheritance.booleanhasEnabledPackageWithName(String packageName)Checks if there is any enabled package with the name packageName.booleanisFastTrack()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
-
origInstance
protected TargetPlatformInstance origInstance
-
-
Constructor Detail
-
TargetPlatformInstanceExtension
protected TargetPlatformInstanceExtension()
-
TargetPlatformInstanceExtension
public TargetPlatformInstanceExtension(TargetPlatformInstance orig)
-
-
Method Detail
-
isFastTrack
public boolean isFastTrack()
Description copied from interface:TargetInfoReturns true if given target platform is a fast track- Specified by:
isFastTrackin interfaceTargetInfo- Overrides:
isFastTrackin classTargetInfoExtension
-
getEnabledPackagesIds
public List<String> getEnabledPackagesIds()
Description copied from interface:TargetPlatformInstanceReturn the list of ids of packages enabled on this target platform.- Specified by:
getEnabledPackagesIdsin interfaceTargetPlatformInstance
-
getEnabledPackages
public Map<String,TargetPackage> getEnabledPackages()
Description copied from interface:TargetPlatformInstanceReturn the list of packages enabled on this target platform.- Specified by:
getEnabledPackagesin interfaceTargetPlatformInstance
-
hasEnabledPackageWithName
public boolean hasEnabledPackageWithName(String packageName)
Description copied from interface:TargetPlatformInstanceChecks if there is any enabled package with the name packageName.- Specified by:
hasEnabledPackageWithNamein interfaceTargetPlatformInstance
-
getParent
public TargetPlatform getParent()
Description copied from interface:TargetPlatformInstanceReturns this target platform parent or null if there is no inheritance.- Specified by:
getParentin interfaceTargetPlatformInstance
-
-