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 protected
TargetPlatformInfoImpl()
TargetPlatformInfoImpl(String id, String name, String version, String refVersion, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAvailablePackageInfo(TargetPackageInfo packInfo)
Add a package to the list of available packages.int
compareTo(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.void
setAvailablePackagesInfo(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:TargetPlatformInfo
Return the list of ids of packages available on this target platform.- Specified by:
getAvailablePackagesIds
in interfaceTargetPlatformInfo
-
getAvailablePackagesInfo
public Map<String,TargetPackageInfo> getAvailablePackagesInfo()
Description copied from interface:TargetPlatformInfo
Return the map of packages available on this target platform.- Specified by:
getAvailablePackagesInfo
in interfaceTargetPlatformInfo
-
addAvailablePackageInfo
public void addAvailablePackageInfo(TargetPackageInfo packInfo)
Description copied from interface:TargetPlatformInfo
Add a package to the list of available packages.- Specified by:
addAvailablePackageInfo
in interfaceTargetPlatformInfo
-
setAvailablePackagesInfo
public void setAvailablePackagesInfo(Map<String,TargetPackageInfo> packages)
Description copied from interface:TargetPlatformInfo
Sets available packages on this target platform.- Specified by:
setAvailablePackagesInfo
in interfaceTargetPlatformInfo
-
compareTo
public int compareTo(TargetPlatformInfo o)
- Specified by:
compareTo
in interfaceComparable<TargetPlatformInfo>
-
-