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 |
origTarget
origInfo
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, isVersion
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getSimpleName, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isOverridden, isRestricted, isTrial, matchesType, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isOverridden, isRestricted, isTrial, matchesType
protected TargetPlatformInstance origInstance
protected TargetPlatformInstanceExtension()
public TargetPlatformInstanceExtension(TargetPlatformInstance orig)
public boolean isFastTrack()
TargetInfo
isFastTrack
in interface TargetInfo
isFastTrack
in class TargetInfoExtension
public List<String> getEnabledPackagesIds()
TargetPlatformInstance
getEnabledPackagesIds
in interface TargetPlatformInstance
public Map<String,TargetPackage> getEnabledPackages()
TargetPlatformInstance
getEnabledPackages
in interface TargetPlatformInstance
public boolean hasEnabledPackageWithName(String packageName)
TargetPlatformInstance
hasEnabledPackageWithName
in interface TargetPlatformInstance
public TargetPlatform getParent()
TargetPlatformInstance
getParent
in interface TargetPlatformInstance
Copyright © 2019 Nuxeo. All rights reserved.