Package org.robolectric.versioning
Class AndroidVersions.AndroidUnreleased
java.lang.Object
org.robolectric.versioning.AndroidVersions.AndroidRelease
org.robolectric.versioning.AndroidVersions.AndroidUnreleased
- All Implemented Interfaces:
Comparable<AndroidVersions.AndroidRelease>
- Direct Known Subclasses:
AndroidVersions.Baklava
,AndroidVersions.Unbound
- Enclosing class:
- AndroidVersions
public abstract static class AndroidVersions.AndroidUnreleased
extends AndroidVersions.AndroidRelease
An in-development version of Android
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
true if this release has already occurred, false otherwise.Methods inherited from class org.robolectric.versioning.AndroidVersions.AndroidRelease
compareTo, getSdkInt, getShortCode, getVersion, toString
-
Constructor Details
-
AndroidUnreleased
public AndroidUnreleased()
-
-
Method Details
-
isReleased
public boolean isReleased()Description copied from class:AndroidVersions.AndroidRelease
true if this release has already occurred, false otherwise. If unreleased, the getSdkInt will guess at the likely sdk number. Your code will need to recompile if this value changes - including most modern build tools; bazle, soong all are full build systems - and as such organizations using them have no concerns.- Specified by:
isReleased
in classAndroidVersions.AndroidRelease
-