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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
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 StringString 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".booleanReturns true if given target information is marked as default.booleanReturns true if given target is deprecated.booleanReturns true if the corresponding target platform is enabled.booleanReturns true if given target platform is a fast trackbooleanReturns true if given target information is overridden by directory information.booleanReturns true if access to the corresponding target platform is restricted.booleanisTrial()Returns true if given target information is available for trials.booleanmatchesType(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:TargetInfoThis target unique identifier (usually some kind of concatenation of name and version).- Specified by:
getIdin interfaceTargetInfo
-
getName
Description copied from interface:TargetInfoThe target platform name, for instance "cap".- Specified by:
getNamein interfaceTargetInfo
-
getVersion
Description copied from interface:TargetInfoThe target platform version, for instance "5.8".- Specified by:
getVersionin interfaceTargetInfo
-
getRefVersion
Description copied from interface:TargetInfoThe target platform reference version used for behaviour checks.Defaults to
TargetInfo.getVersion()when not set.- Specified by:
getRefVersionin interfaceTargetInfo
-
getStatus
Description copied from interface:TargetInfoString marker for a dev/deprecated/new status.- Specified by:
getStatusin interfaceTargetInfo
-
getLabel
Description copied from interface:TargetInfoA user-friendly label for this platform, like "Nuxeo Platform 5.8".- Specified by:
getLabelin interfaceTargetInfo
-
getDescription
Description copied from interface:TargetInfoReturns a description for this target.Can contain HTML code.
- Specified by:
getDescriptionin interfaceTargetInfo
-
isEnabled
public boolean isEnabled()Description copied from interface:TargetInfoReturns true if the corresponding target platform is enabled.- Specified by:
isEnabledin interfaceTargetInfo
-
isRestricted
public boolean isRestricted()Description copied from interface:TargetInfoReturns 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:
isRestrictedin interfaceTargetInfo
-
getReleaseDate
Description copied from interface:TargetInfoReturns this target release date.- Specified by:
getReleaseDatein interfaceTargetInfo
-
getEndOfAvailability
Description copied from interface:TargetInfoReturns this target end of availability date.- Specified by:
getEndOfAvailabilityin interfaceTargetInfo
-
getDownloadLink
Description copied from interface:TargetInfoReturns this target download link.- Specified by:
getDownloadLinkin interfaceTargetInfo
-
isDeprecated
public boolean isDeprecated()Description copied from interface:TargetInfoReturns true if given target is deprecated.- Specified by:
isDeprecatedin interfaceTargetInfo
-
isTrial
public boolean isTrial()Description copied from interface:TargetInfoReturns true if given target information is available for trials.- Specified by:
isTrialin interfaceTargetInfo
-
isDefault
public boolean isDefault()Description copied from interface:TargetInfoReturns true if given target information is marked as default.- Specified by:
isDefaultin interfaceTargetInfo
-
isFastTrack
public boolean isFastTrack()Description copied from interface:TargetInfoReturns true if given target platform is a fast track- Specified by:
isFastTrackin interfaceTargetInfo
-
isOverridden
public boolean isOverridden()Description copied from interface:TargetInfoReturns true if given target information is overridden by directory information.- Specified by:
isOverriddenin interfaceTargetInfo
-
getTypes
Description copied from interface:TargetInfoString markers for feature/behaviour checks on this instance.- Specified by:
getTypesin interfaceTargetInfo
-
matchesType
Description copied from interface:TargetInfoReturns true if given type is in the list of this target types.- Specified by:
matchesTypein interfaceTargetInfo
-
getSimpleName
-
toString
-