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
Describe a target platform: name, version
- Since:
- 5.7.1
- Author:
- Bogdan Stefanescu
- See Also:
-
Field Summary
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
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAvailablePackageInfo
(TargetPackageInfo packInfo) Add a package to the list of available packages.int
Return the list of ids of packages available on this target platform.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 Details
-
availablePackagesInfo
-
-
Constructor Details
-
TargetPlatformInfoImpl
protected TargetPlatformInfoImpl() -
TargetPlatformInfoImpl
-
-
Method Details
-
getAvailablePackagesIds
Description copied from interface:TargetPlatformInfo
Return the list of ids of packages available on this target platform.- Specified by:
getAvailablePackagesIds
in interfaceTargetPlatformInfo
-
getAvailablePackagesInfo
Description copied from interface:TargetPlatformInfo
Return the map of packages available on this target platform.- Specified by:
getAvailablePackagesInfo
in interfaceTargetPlatformInfo
-
addAvailablePackageInfo
Description copied from interface:TargetPlatformInfo
Add a package to the list of available packages.- Specified by:
addAvailablePackageInfo
in interfaceTargetPlatformInfo
-
setAvailablePackagesInfo
Description copied from interface:TargetPlatformInfo
Sets available packages on this target platform.- Specified by:
setAvailablePackagesInfo
in interfaceTargetPlatformInfo
-
compareTo
- Specified by:
compareTo
in interfaceComparable<TargetPlatformInfo>
-