Class TargetInfoExtension

    • Constructor Detail

      • TargetInfoExtension

        protected TargetInfoExtension()
      • TargetInfoExtension

        public TargetInfoExtension​(TargetInfo orig)
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: TargetInfo
        This target unique identifier (usually some kind of concatenation of name and version).
        Specified by:
        getId in interface TargetInfo
      • getName

        public String getName()
        Description copied from interface: TargetInfo
        The target platform name, for instance "cap".
        Specified by:
        getName in interface TargetInfo
      • getVersion

        public String getVersion()
        Description copied from interface: TargetInfo
        The target platform version, for instance "5.8".
        Specified by:
        getVersion in interface TargetInfo
      • getStatus

        public String getStatus()
        Description copied from interface: TargetInfo
        String marker for a dev/deprecated/new status.
        Specified by:
        getStatus in interface TargetInfo
      • getLabel

        public String getLabel()
        Description copied from interface: TargetInfo
        A user-friendly label for this platform, like "Nuxeo Platform 5.8".
        Specified by:
        getLabel in interface TargetInfo
      • getDescription

        public String getDescription()
        Description copied from interface: TargetInfo
        Returns a description for this target.

        Can contain HTML code.

        Specified by:
        getDescription in interface TargetInfo
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: TargetInfo
        Returns true if the corresponding target platform is enabled.
        Specified by:
        isEnabled in interface TargetInfo
      • 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 interface TargetInfo
      • isDeprecated

        public boolean isDeprecated()
        Description copied from interface: TargetInfo
        Returns true if given target is deprecated.
        Specified by:
        isDeprecated in interface TargetInfo
      • isTrial

        public boolean isTrial()
        Description copied from interface: TargetInfo
        Returns true if given target information is available for trials.
        Specified by:
        isTrial in interface TargetInfo
      • isDefault

        public boolean isDefault()
        Description copied from interface: TargetInfo
        Returns true if given target information is marked as default.
        Specified by:
        isDefault in interface TargetInfo
      • isFastTrack

        public boolean isFastTrack()
        Description copied from interface: TargetInfo
        Returns true if given target platform is a fast track
        Specified by:
        isFastTrack in interface TargetInfo
      • isOverridden

        public boolean isOverridden()
        Description copied from interface: TargetInfo
        Returns true if given target information is overridden by directory information.
        Specified by:
        isOverridden in interface TargetInfo
      • getTypes

        public List<String> getTypes()
        Description copied from interface: TargetInfo
        String markers for feature/behaviour checks on this instance.
        Specified by:
        getTypes in interface TargetInfo
      • matchesType

        public boolean matchesType​(String type)
        Description copied from interface: TargetInfo
        Returns true if given type is in the list of this target types.
        Specified by:
        matchesType in interface TargetInfo
      • getSimpleName

        protected String getSimpleName()