Class TargetPlatformInstanceImpl
java.lang.Object
org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
org.nuxeo.targetplatforms.api.impl.TargetImpl
org.nuxeo.targetplatforms.api.impl.TargetPlatformInstanceImpl
- All Implemented Interfaces:
Serializable
,Target
,TargetInfo
,TargetPlatformInstance
- Since:
- 5.7.1
- 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
Return the list of packages enabled on this target platform.Return the list of ids of packages enabled on this target platform.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) Methods inherited from class org.nuxeo.targetplatforms.api.impl.TargetImpl
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
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.Target
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
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
-
parent
-
enabledPackages
-
-
Constructor Details
-
TargetPlatformInstanceImpl
protected TargetPlatformInstanceImpl() -
TargetPlatformInstanceImpl
-
TargetPlatformInstanceImpl
-
-
Method Details
-
getEnabledPackagesIds
Description copied from interface:TargetPlatformInstance
Return the list of ids of packages enabled on this target platform.- Specified by:
getEnabledPackagesIds
in interfaceTargetPlatformInstance
-
getEnabledPackages
Description copied from interface:TargetPlatformInstance
Return the list of packages enabled on this target platform.- Specified by:
getEnabledPackages
in interfaceTargetPlatformInstance
-
addEnabledPackage
-
setEnabledPackages
-
hasEnabledPackageWithName
Description copied from interface:TargetPlatformInstance
Checks if there is any enabled package with the name packageName.- Specified by:
hasEnabledPackageWithName
in interfaceTargetPlatformInstance
-
getParent
Description copied from interface:TargetPlatformInstance
Returns this target platform parent or null if there is no inheritance.- Specified by:
getParent
in interfaceTargetPlatformInstance
-
setParent
-