Class TargetPlatformInfoImpl
- java.lang.Object
-
- org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
-
- org.nuxeo.targetplatforms.api.impl.TargetPlatformInfoImpl
-
- All Implemented Interfaces:
Serializable,Comparable<TargetPlatformInfo>,TargetInfo,TargetPlatformInfo
public class TargetPlatformInfoImpl extends TargetInfoImpl implements TargetPlatformInfo
Describe a target platform: name, version- Since:
- 5.7.1
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,TargetPackageInfo>availablePackagesInfo-
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
deprecated, description, downloadLink, enabled, endOfAvailability, fastTrack, id, isDefault, label, name, overridden, refVersion, releaseDate, restricted, status, trial, types, version
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTargetPlatformInfoImpl()TargetPlatformInfoImpl(String id, String name, String version, String refVersion, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAvailablePackageInfo(TargetPackageInfo packInfo)Add a package to the list of available packages.intcompareTo(TargetPlatformInfo o)List<String>getAvailablePackagesIds()Return the list of ids of packages available on this target platform.Map<String,TargetPackageInfo>getAvailablePackagesInfo()Return the map of packages available on this target platform.voidsetAvailablePackagesInfo(Map<String,TargetPackageInfo> packages)Sets available packages on this target platform.-
Methods inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
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
-
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.TargetInfo
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType
-
-
-
-
Field Detail
-
availablePackagesInfo
protected Map<String,TargetPackageInfo> availablePackagesInfo
-
-
Method Detail
-
getAvailablePackagesIds
public List<String> getAvailablePackagesIds()
Description copied from interface:TargetPlatformInfoReturn the list of ids of packages available on this target platform.- Specified by:
getAvailablePackagesIdsin interfaceTargetPlatformInfo
-
getAvailablePackagesInfo
public Map<String,TargetPackageInfo> getAvailablePackagesInfo()
Description copied from interface:TargetPlatformInfoReturn the map of packages available on this target platform.- Specified by:
getAvailablePackagesInfoin interfaceTargetPlatformInfo
-
addAvailablePackageInfo
public void addAvailablePackageInfo(TargetPackageInfo packInfo)
Description copied from interface:TargetPlatformInfoAdd a package to the list of available packages.- Specified by:
addAvailablePackageInfoin interfaceTargetPlatformInfo
-
setAvailablePackagesInfo
public void setAvailablePackagesInfo(Map<String,TargetPackageInfo> packages)
Description copied from interface:TargetPlatformInfoSets available packages on this target platform.- Specified by:
setAvailablePackagesInfoin interfaceTargetPlatformInfo
-
compareTo
public int compareTo(TargetPlatformInfo o)
- Specified by:
compareToin interfaceComparable<TargetPlatformInfo>
-
-