| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private int | |
| private Version. | |
| private String | |
| private boolean | |
| public static final String | |
| private static final String | |
| private int | |
| private int | |
| private int | |
| private static final Version | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object other)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public static List | |
| public String | getChangelogUrl()
Returns: The link to the changelog on GitHub to this specific version (https://github.com/JabRef/jabref/blob/vX.X/CHANGELOG.md) |
| public int | |
| public String | |
| private static Logger | getLogger()
Tinylog does not allow for altering existing loging configuraitons after the logger was initialized . |
| public int | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public boolean | isNewerThan(@NonNull Version otherVersion)
Returns: true if this version is newer than the passed one |
| public static Version | parse(String
must be in form of following pattern: version)(\d+)(\.(\d+))?(\.(\d+))?(-alpha|-beta)?(-?dev)? (e.g., 3.3; 3.4-dev)Returns: the parsed version or |
| public Optional | Returns: The version this one should be updated to, or an empty OptionalChecks if this version should be updated to one of the given ones. |
| public boolean | Returns: True if this version should be updated to the given oneChecks if this version should be updated to the given one. |
| public String |
| CI_SUFFIX_PATTERN | back to summary |
|---|---|
| private static final Pattern CI_SUFFIX_PATTERN | |
| developmentNum | back to summary |
|---|---|
| private int developmentNum | |
| developmentStage | back to summary |
|---|---|
| private Version. | |
| fullVersion | back to summary |
|---|---|
| private String fullVersion | |
| isDevelopmentVersion | back to summary |
|---|---|
| private boolean isDevelopmentVersion | |
| JABREF_DOWNLOAD_URL | back to summary |
|---|---|
| public static final String JABREF_DOWNLOAD_URL | |
| JABREF_GITHUB_RELEASES | back to summary |
|---|---|
| private static final String JABREF_GITHUB_RELEASES | |
| major | back to summary |
|---|---|
| private int major | |
| minor | back to summary |
|---|---|
| private int minor | |
| patch | back to summary |
|---|---|
| private int patch | |
| UNKNOWN_VERSION | back to summary |
|---|---|
| private static final Version UNKNOWN_VERSION | |
| VERSION_PATTERN | back to summary |
|---|---|
| private static final Pattern VERSION_PATTERN | |
| Version | back to summary |
|---|---|
| private Version() Dummy constructor to create a local object (and | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAllAvailableVersions | back to summary |
|---|---|
| public static List Grabs all the available releases from the GitHub repository | |
| getChangelogUrl | back to summary |
|---|---|
public String getChangelogUrl()
| |
| getDevelopmentNum | back to summary |
|---|---|
| public int getDevelopmentNum() | |
| getFullVersion | back to summary |
|---|---|
| public String getFullVersion() | |
| getLogger | back to summary |
|---|---|
| private static Logger getLogger() Tinylog does not allow for altering existing loging configuraitons after the logger was initialized . Lazy initialization to enable tinylog writing to a file (and also still enabling loggin in this class) | |
| getMajor | back to summary |
|---|---|
| public int getMajor() | |
| getMinor | back to summary |
|---|---|
| public int getMinor() | |
| getPatch | back to summary |
|---|---|
| public int getPatch() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isDevelopmentVersion | back to summary |
|---|---|
| public boolean isDevelopmentVersion() | |
| isNewerThan | back to summary |
|---|---|
public boolean isNewerThan(@NonNull Version otherVersion)
| |
| parse | back to summary |
|---|---|
public static Version parse(String version)
| |
| shouldBeUpdatedTo | back to summary |
|---|---|
| public Optional Checks if this version should be updated to one of the given ones. Ignoring the other Version if this one is Stable and the other one is not. | |
| shouldBeUpdatedTo | back to summary |
|---|---|
| public boolean shouldBeUpdatedTo(Version otherVersion) Checks if this version should be updated to the given one. Ignoring the other Version if this one is Stable and the other one is not.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Version. | |
| public static final Version. | |
| private final int | stability
describes how stable this stage is, the higher the better |
| public static final Version. | |
| private final String | |
| public static final Version. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isMoreStableThan(Version.
Returns: true if this stage is more stable than the |
| public static Version. | |
| public static Version. | |
| public static Version. |
| ALPHA | back to summary |
|---|---|
| public static final Version. | |
| BETA | back to summary |
|---|---|
| public static final Version. | |
| stability | back to summary |
|---|---|
| private final int stability describes how stable this stage is, the higher the better | |
| STABLE | back to summary |
|---|---|
| public static final Version. | |
| stage | back to summary |
|---|---|
| private final String stage | |
| UNKNOWN | back to summary |
|---|---|
| public static final Version. | |
| DevelopmentStage | back to summary |
|---|---|
| private DevelopmentStage(String stage, int stability) | |
| isMoreStableThan | back to summary |
|---|---|
public boolean isMoreStableThan(Version.
| |
| parse | back to summary |
|---|---|
| public static Version. | |
| valueOf | back to summary |
|---|---|
| public static Version. | |
| values | back to summary |
|---|---|
| public static Version. | |