All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.verapdf.apps.SoftwareUpdater Maven / Gradle / Ivy

There is a newer version: 1.6.4-PDFBOX
Show newest version
/**
 * 
 */
package org.verapdf.apps;

import org.verapdf.ReleaseDetails;
import org.verapdf.SemanticVersionNumber;

/**
 * @author Carl Wilson
 *         carlwilson AT github
 * @version 0.1 Created 26 May 2017:01:05:39
 */

public interface SoftwareUpdater {
	/**
	 * @return true if the online version information service is available
	 */
	public boolean isOnline();

	/**
	 * @return the latest available version of the Greenfield veraPDF apps
	 *         package
	 */
	public SemanticVersionNumber getLatestAppsVersion();

	/**
	 * @return the latest available version of the PDFBox veraPDF apps package
	 */
	public SemanticVersionNumber getLatestPdfBoxAppsVersion();

	/**
	 * @return true if there's a later version of the apps available
	 */
	public boolean isUpdateAvailable();

	/**
	 * @return true if there's a later version of the apps than that indicated
	 *         by the passed string
	 */
	public boolean isUpdateAvailable(String versionString);

	/**
	 * @return true if there's a later version of the apps than that indicated
	 *         by the passed ReleaseDetails
	 */
	public boolean isUpdateAvailable(ReleaseDetails details);

	/**
	 * @return The latest version string for the software whose version string
	 *         is passed
	 */
	public String getLatestVersion(String versionString);

	/**
	 * @return The latest version string for the software whose version string
	 *         is passed
	 */
	public String getLatestVersion(ReleaseDetails details);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy