public final class EclipseRelease extends Object
Models an Eclipse release, such as Mars SR2.
Supports all official releases from 3.5.0 to present (currently 4.6.0).
Modifier and Type | Method and Description |
---|---|
static EclipseRelease |
createWithIdVersionUpdatesite(String id,
String version,
String updateSite)
Creates a custom eclipse release (use an official release, e.g.
|
boolean |
equals(Object otherObj) |
int |
hashCode()
Returns the hashCode for this release.
|
static EclipseRelease |
latestOfficial() |
static EclipseRelease |
official(String version)
Returns the given officially released version which is supported by Goomph.
|
static String |
supportedRange()
Returns a message describing the currently supported range of versions.
|
String |
toString()
Returns the id.
|
String |
updateSite()
Returns the update site for this release.
|
org.osgi.framework.Version |
version()
Returns the OSGi version for this release.
|
public static final String LATEST
public static EclipseRelease createWithIdVersionUpdatesite(String id, String version, String updateSite)
Creates a custom eclipse release (use an official release, e.g. EclipseRelease.R_4_5_2
whenever possible).
public static EclipseRelease official(String version)
Returns the given officially released version which is supported by Goomph.
public static EclipseRelease latestOfficial()
public static String supportedRange()
Returns a message describing the currently supported range of versions.
public org.osgi.framework.Version version()
Returns the OSGi version for this release.
public String updateSite()
Returns the update site for this release.
public int hashCode()
Returns the hashCode for this release.