if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return false;
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return false;
if (required.getImplementationVersion() != null) { if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false);
/** * Return <code>true</code> if the specified <code>Extension</code> * (which represents an optional package required by this application) * is satisfied by this <code>Extension</code> (which represents an * optional package that is already installed. Otherwise, return * <code>false</code>. * * @param required Extension of the required optional package */ public boolean isCompatibleWith(Extension required) { // Extension Name must match if (extensionName == null) return (false); if (!extensionName.equals(required.getExtensionName())) return (false); // Available specification version must be >= required if (!isNewer(specificationVersion, required.getSpecificationVersion())) return (false); // Implementation Vendor ID must match if (implementationVendorId == null) return (false); if (!implementationVendorId.equals(required.getImplementationVendorId())) return (false); // Implementation version must be >= required if (!isNewer(implementationVersion, required.getImplementationVersion())) return (false); // This available optional package satisfies the requirements return (true); }