public class TargetPlatformImpl extends TargetImpl implements TargetPlatform
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,TargetPackage> |
availablePackages |
protected TargetPlatform |
parent |
protected List<String> |
testVersions |
deprecated, description, downloadLink, enabled, endOfAvailability, fastTrack, id, isDefault, label, name, overridden, refVersion, releaseDate, restricted, status, trial, types, version| Modifier | Constructor and Description |
|---|---|
protected |
TargetPlatformImpl() |
|
TargetPlatformImpl(String id) |
|
TargetPlatformImpl(String id,
String name,
String version,
String refVersion,
String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAvailablePackage(TargetPackage pack) |
int |
compareTo(TargetPlatform o) |
List<TargetPackage> |
getAvailablePackages()
Return the list of packages available on this target platform.
|
List<String> |
getAvailablePackagesIds()
Return the list of ids of packages available on this target platform.
|
TargetPlatform |
getParent()
Returns this target platform parent or null if there is no inheritance.
|
List<String> |
getTestVersions()
Returns the list of test versions, useful for testing of multiple branches (main target platform branch or
release, maintenance branch, etc...).
|
void |
setAvailablePackages(Map<String,TargetPackage> tps) |
void |
setParent(TargetPlatform parent) |
void |
setTestVersions(List<String> testVersions) |
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersiongetDescription, 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, 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, isFastTrack, isOverridden, isRestricted, isTrial, matchesTypeprotected TargetPlatform parent
protected Map<String,TargetPackage> availablePackages
protected List<String> testVersions
protected TargetPlatformImpl()
public TargetPlatformImpl(String id)
public List<String> getAvailablePackagesIds()
TargetPlatformgetAvailablePackagesIds in interface TargetPlatformpublic List<TargetPackage> getAvailablePackages()
TargetPlatformgetAvailablePackages in interface TargetPlatformpublic void addAvailablePackage(TargetPackage pack)
public void setAvailablePackages(Map<String,TargetPackage> tps)
public TargetPlatform getParent()
TargetPlatformgetParent in interface TargetPlatformpublic void setParent(TargetPlatform parent)
public List<String> getTestVersions()
TargetPlatformgetTestVersions in interface TargetPlatformpublic void setTestVersions(List<String> testVersions)
public int compareTo(TargetPlatform o)
compareTo in interface Comparable<TargetPlatform>Copyright © 2019 Nuxeo. All rights reserved.