Class TargetInfoExtension
java.lang.Object
org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
- All Implemented Interfaces:
Serializable
,TargetInfo
- Direct Known Subclasses:
TargetExtension
TargetInfo
implementation relying on an original implementation, useful for override when adding additional
metadata.- Since:
- 5.7.1
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionReturns a description for this target.Returns this target download link.Returns this target end of availability date.getId()
This target unique identifier (usually some kind of concatenation of name and version).getLabel()
A user-friendly label for this platform, like "Nuxeo Platform 5.8".getName()
The target platform name, for instance "cap".The target platform reference version used for behaviour checks.Returns this target release date.protected String
String marker for a dev/deprecated/new status.getTypes()
String markers for feature/behaviour checks on this instance.The target platform version, for instance "5.8".boolean
Returns true if given target information is marked as default.boolean
Returns true if given target is deprecated.boolean
Returns true if the corresponding target platform is enabled.boolean
Returns true if given target platform is a fast trackboolean
Returns true if given target information is overridden by directory information.boolean
Returns true if access to the corresponding target platform is restricted.boolean
isTrial()
Returns true if given target information is available for trials.boolean
matchesType
(String type) Returns true if given type is in the list of this target types.toString()
-
Field Details
-
origInfo
-
-
Constructor Details
-
TargetInfoExtension
protected TargetInfoExtension() -
TargetInfoExtension
-
-
Method Details
-
getId
Description copied from interface:TargetInfo
This target unique identifier (usually some kind of concatenation of name and version).- Specified by:
getId
in interfaceTargetInfo
-
getName
Description copied from interface:TargetInfo
The target platform name, for instance "cap".- Specified by:
getName
in interfaceTargetInfo
-
getVersion
Description copied from interface:TargetInfo
The target platform version, for instance "5.8".- Specified by:
getVersion
in interfaceTargetInfo
-
getRefVersion
Description copied from interface:TargetInfo
The target platform reference version used for behaviour checks.Defaults to
TargetInfo.getVersion()
when not set.- Specified by:
getRefVersion
in interfaceTargetInfo
-
getStatus
Description copied from interface:TargetInfo
String marker for a dev/deprecated/new status.- Specified by:
getStatus
in interfaceTargetInfo
-
getLabel
Description copied from interface:TargetInfo
A user-friendly label for this platform, like "Nuxeo Platform 5.8".- Specified by:
getLabel
in interfaceTargetInfo
-
getDescription
Description copied from interface:TargetInfo
Returns a description for this target.Can contain HTML code.
- Specified by:
getDescription
in interfaceTargetInfo
-
isEnabled
public boolean isEnabled()Description copied from interface:TargetInfo
Returns true if the corresponding target platform is enabled.- Specified by:
isEnabled
in interfaceTargetInfo
-
isRestricted
public boolean isRestricted()Description copied from interface:TargetInfo
Returns true if access to the corresponding target platform is restricted.Criteria for which access should be granted or not are left to the caller.
- Specified by:
isRestricted
in interfaceTargetInfo
-
getReleaseDate
Description copied from interface:TargetInfo
Returns this target release date.- Specified by:
getReleaseDate
in interfaceTargetInfo
-
getEndOfAvailability
Description copied from interface:TargetInfo
Returns this target end of availability date.- Specified by:
getEndOfAvailability
in interfaceTargetInfo
-
getDownloadLink
Description copied from interface:TargetInfo
Returns this target download link.- Specified by:
getDownloadLink
in interfaceTargetInfo
-
isDeprecated
public boolean isDeprecated()Description copied from interface:TargetInfo
Returns true if given target is deprecated.- Specified by:
isDeprecated
in interfaceTargetInfo
-
isTrial
public boolean isTrial()Description copied from interface:TargetInfo
Returns true if given target information is available for trials.- Specified by:
isTrial
in interfaceTargetInfo
-
isDefault
public boolean isDefault()Description copied from interface:TargetInfo
Returns true if given target information is marked as default.- Specified by:
isDefault
in interfaceTargetInfo
-
isFastTrack
public boolean isFastTrack()Description copied from interface:TargetInfo
Returns true if given target platform is a fast track- Specified by:
isFastTrack
in interfaceTargetInfo
-
isOverridden
public boolean isOverridden()Description copied from interface:TargetInfo
Returns true if given target information is overridden by directory information.- Specified by:
isOverridden
in interfaceTargetInfo
-
getTypes
Description copied from interface:TargetInfo
String markers for feature/behaviour checks on this instance.- Specified by:
getTypes
in interfaceTargetInfo
-
matchesType
Description copied from interface:TargetInfo
Returns true if given type is in the list of this target types.- Specified by:
matchesType
in interfaceTargetInfo
-
getSimpleName
-
toString
-