Interface Target

All Superinterfaces:
Serializable, TargetInfo
All Known Subinterfaces:
TargetPackage, TargetPlatform, TargetPlatformInstance
All Known Implementing Classes:
TargetExtension, TargetImpl, TargetPackageExtension, TargetPackageImpl, TargetPlatformExtension, TargetPlatformImpl, TargetPlatformInstanceExtension, TargetPlatformInstanceImpl

public interface Target extends TargetInfo
Represents a target (platform or package).
Since:
5.7.1
  • Method Details

    • isStrictlyBeforeVersion

      boolean isStrictlyBeforeVersion(String version)
      Returns true if this target reference version is strictly before given version.
    • isAfterVersion

      boolean isAfterVersion(String version)
      Returns true if this target reference version is or is after given version.
    • isVersion

      boolean isVersion(String version)
      Returns true if this target reference version matches given version.
    • isStrictlyBeforeVersion

      boolean isStrictlyBeforeVersion(Target version)
      Returns true if this target reference version is strictly before given version.
    • isAfterVersion

      boolean isAfterVersion(Target version)
      Returns true if this target reference version is or is after given version.
    • isVersion

      boolean isVersion(Target version)
      Returns true if this target reference version matches given version.