Interface TargetInfo

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • getId

        String getId()
        This target unique identifier (usually some kind of concatenation of name and version).
      • getName

        String getName()
        The target platform name, for instance "cap".
      • getVersion

        String getVersion()
        The target platform version, for instance "5.8".
      • getLabel

        String getLabel()
        A user-friendly label for this platform, like "Nuxeo Platform 5.8".
      • getStatus

        String getStatus()
        String marker for a dev/deprecated/new status.
      • isEnabled

        boolean isEnabled()
        Returns true if the corresponding target platform is enabled.
      • isRestricted

        boolean isRestricted()
        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.

      • isDeprecated

        boolean isDeprecated()
        Returns true if given target is deprecated.
      • isTrial

        boolean isTrial()
        Returns true if given target information is available for trials.
      • isDefault

        boolean isDefault()
        Returns true if given target information is marked as default.
      • isFastTrack

        boolean isFastTrack()
        Returns true if given target platform is a fast track
      • isOverridden

        boolean isOverridden()
        Returns true if given target information is overridden by directory information.
      • getDescription

        String getDescription()
        Returns a description for this target.

        Can contain HTML code.

      • getTypes

        List<StringgetTypes()
        String markers for feature/behaviour checks on this instance.
      • matchesType

        boolean matchesType​(String type)
        Returns true if given type is in the list of this target types.