public class TargetPlatformInstanceImpl extends TargetImpl implements TargetPlatformInstance
Modifier and Type | Field and Description |
---|---|
protected Map<String,TargetPackage> |
enabledPackages |
protected TargetPlatform |
parent |
deprecated, description, downloadLink, enabled, endOfAvailability, fastTrack, id, isDefault, label, name, overridden, refVersion, releaseDate, restricted, status, trial, types, version
Modifier | Constructor and Description |
---|---|
protected |
TargetPlatformInstanceImpl() |
|
TargetPlatformInstanceImpl(String id) |
|
TargetPlatformInstanceImpl(String id,
String name,
String version,
String refVersion,
String label) |
Modifier and Type | Method and Description |
---|---|
void |
addEnabledPackage(TargetPackage pack) |
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.
|
void |
setEnabledPackages(Map<String,TargetPackage> packages) |
void |
setParent(TargetPlatform parent) |
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getSimpleName, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType, setDefault, setDeprecated, setDescription, setDownloadLink, setEnabled, setEndOfAvailability, setFastTrack, setId, setLabel, setName, setOverridden, setRefVersion, setReleaseDate, setRestricted, setStatus, setTrial, setTypes, setVersion, 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, isFastTrack, isOverridden, isRestricted, isTrial, matchesType
protected TargetPlatform parent
protected Map<String,TargetPackage> enabledPackages
protected TargetPlatformInstanceImpl()
public TargetPlatformInstanceImpl(String id)
public List<String> getEnabledPackagesIds()
TargetPlatformInstance
getEnabledPackagesIds
in interface TargetPlatformInstance
public Map<String,TargetPackage> getEnabledPackages()
TargetPlatformInstance
getEnabledPackages
in interface TargetPlatformInstance
public void addEnabledPackage(TargetPackage pack)
public void setEnabledPackages(Map<String,TargetPackage> packages)
public boolean hasEnabledPackageWithName(String packageName)
TargetPlatformInstance
hasEnabledPackageWithName
in interface TargetPlatformInstance
public TargetPlatform getParent()
TargetPlatformInstance
getParent
in interface TargetPlatformInstance
public void setParent(TargetPlatform parent)
Copyright © 2017 Nuxeo. All rights reserved.