public class TargetPlatformInstanceExtension extends TargetExtension implements TargetPlatformInstance
TargetPlatform implementation relying on an original implementation, useful for override when adding
additional metadata.| Modifier and Type | Field and Description |
|---|---|
protected TargetPlatformInstance |
origInstance |
origTargetorigInfo| Modifier | Constructor and Description |
|---|---|
protected |
TargetPlatformInstanceExtension() |
|
TargetPlatformInstanceExtension(TargetPlatformInstance orig) |
| Modifier and Type | Method and 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.
|
TargetPlatform |
getParent()
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 |
isFastTrack()
Returns true if given target platform is a fast track
|
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersiongetDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getSimpleName, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isOverridden, isRestricted, isTrial, matchesType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersiongetDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isOverridden, isRestricted, isTrial, matchesTypeprotected TargetPlatformInstance origInstance
protected TargetPlatformInstanceExtension()
public TargetPlatformInstanceExtension(TargetPlatformInstance orig)
public boolean isFastTrack()
TargetInfoisFastTrack in interface TargetInfoisFastTrack in class TargetInfoExtensionpublic List<String> getEnabledPackagesIds()
TargetPlatformInstancegetEnabledPackagesIds in interface TargetPlatformInstancepublic Map<String,TargetPackage> getEnabledPackages()
TargetPlatformInstancegetEnabledPackages in interface TargetPlatformInstancepublic boolean hasEnabledPackageWithName(String packageName)
TargetPlatformInstancehasEnabledPackageWithName in interface TargetPlatformInstancepublic TargetPlatform getParent()
TargetPlatformInstancegetParent in interface TargetPlatformInstanceCopyright © 2019 Nuxeo. All rights reserved.