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

common.UpdateInfo Maven / Gradle / Ivy

There is a newer version: 0.1.5
Show newest version
package common;

import java.net.URL;

/**
 * A class to communicate update information.
 * @see UpdateChecker
 * @author frede
 *
 */
public class UpdateInfo {
	/**
	 * Base URL of the maven repo where the artifact can be downloaded from.
	 */
	public URL mavenRepoBaseURL;
	
	/**
	 * The artifacts group id.
	 */
	public String mavenGroupID;
	
	/**
	 * The artifacts artifact id
	 */
	public String mavenArtifactID;
	
	/**
	 * The artifacts classifier or {@code ""} if the default artifact shall be used.
	 */
	public String mavenClassifier;
	
	/**
	 * Describes how the artifact is packed.
	 */
	public String packaging;
	
	/**
	 * {@code true} if a dialog should be presented to the user to download the update
	 */
	public boolean showAlert;
	
	/**
	 * The artifact version after the update
	 */
	public Version toVersion;
	
	/**
	 * The file size of the artifact in Megabytes. If the file size could not be determined, the value of this field is {@code -1}.
	 */
	public double fileSizeInMB;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy