public interface TargetInfo extends Serializable
This is a lighter version of the target platform or package, useful for listing targets in select inputs for instance.
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a description for this target.
|
String |
getDownloadLink()
Returns this target download link.
|
Date |
getEndOfAvailability()
Returns this target end of availability date.
|
String |
getId()
This target unique identifier (usually some kind of concatenation of name and version).
|
String |
getLabel()
A user-friendly label for this platform, like "Nuxeo Platform 5.8".
|
String |
getName()
The target platform name, for instance "cap".
|
String |
getRefVersion()
The target platform reference version used for behaviour checks.
|
Date |
getReleaseDate()
Returns this target release date.
|
String |
getStatus()
String marker for a dev/deprecated/new status.
|
List<String> |
getTypes()
String markers for feature/behaviour checks on this instance.
|
String |
getVersion()
The target platform version, for instance "5.8".
|
boolean |
isDefault()
Returns true if given target information is marked as default.
|
boolean |
isDeprecated()
Returns true if given target is deprecated.
|
boolean |
isEnabled()
Returns true if the corresponding target platform is enabled.
|
boolean |
isFastTrack()
Returns true if given target platform is a fast track
|
boolean |
isOverridden()
Returns true if given target information is overridden by directory information.
|
boolean |
isRestricted()
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.
|
String getId()
String getVersion()
String getRefVersion()
Defaults to getVersion()
when not set.
boolean isEnabled()
boolean isRestricted()
Criteria for which access should be granted or not are left to the caller.
boolean isDeprecated()
boolean isTrial()
boolean isDefault()
boolean isFastTrack()
boolean isOverridden()
Date getReleaseDate()
Date getEndOfAvailability()
String getDownloadLink()
String getDescription()
Can contain HTML code.
boolean matchesType(String type)
Copyright © 2017 Nuxeo. All rights reserved.