Class TargetExtension

java.lang.Object
org.nuxeo.targetplatforms.api.impl.TargetInfoExtension
org.nuxeo.targetplatforms.api.impl.TargetExtension
All Implemented Interfaces:
Serializable, Target, TargetInfo
Direct Known Subclasses:
TargetPackageExtension, TargetPlatformExtension, TargetPlatformInstanceExtension

public class TargetExtension extends TargetInfoExtension implements Target
Target implementation relying on an original implementation, useful for override when adding additional metadata.
Since:
5.7.1
See Also:
  • Field Details

    • origTarget

      protected Target origTarget
  • Constructor Details

    • TargetExtension

      protected TargetExtension()
    • TargetExtension

      public TargetExtension(Target orig)
  • Method Details

    • isAfterVersion

      public boolean isAfterVersion(String version)
      Description copied from interface: Target
      Returns true if this target reference version is or is after given version.
      Specified by:
      isAfterVersion in interface Target
    • isStrictlyBeforeVersion

      public boolean isStrictlyBeforeVersion(String version)
      Description copied from interface: Target
      Returns true if this target reference version is strictly before given version.
      Specified by:
      isStrictlyBeforeVersion in interface Target
    • isVersion

      public boolean isVersion(String version)
      Description copied from interface: Target
      Returns true if this target reference version matches given version.
      Specified by:
      isVersion in interface Target
    • isStrictlyBeforeVersion

      public boolean isStrictlyBeforeVersion(Target version)
      Description copied from interface: Target
      Returns true if this target reference version is strictly before given version.
      Specified by:
      isStrictlyBeforeVersion in interface Target
    • isAfterVersion

      public boolean isAfterVersion(Target version)
      Description copied from interface: Target
      Returns true if this target reference version is or is after given version.
      Specified by:
      isAfterVersion in interface Target
    • isVersion

      public boolean isVersion(Target version)
      Description copied from interface: Target
      Returns true if this target reference version matches given version.
      Specified by:
      isVersion in interface Target