Uses of Enum Class
eu.cloudnetservice.driver.base.JavaVersion
Packages that use JavaVersion
-
Uses of JavaVersion in eu.cloudnetservice.driver.base
Subclasses with type arguments of type JavaVersion in eu.cloudnetservice.driver.baseModifier and TypeClassDescriptionenumAn enumeration of all java versions starting from 8.Fields in eu.cloudnetservice.driver.base declared as JavaVersionModifier and TypeFieldDescriptionprivate static final JavaVersion[]JavaVersion.JAVA_VERSIONSprivate static final JavaVersionJavaVersion.LATEST_VERSIONprivate static final JavaVersionJavaVersion.RUNTIME_VERSIONMethods in eu.cloudnetservice.driver.base that return JavaVersionModifier and TypeMethodDescriptionstatic @NonNull JavaVersionJavaVersion.guessFromMajor(int major) Guesses the java version from the given major version, returning eitherJavaVersion.JAVA_NEXTorJavaVersion.JAVA_UNSUPPORTEDin case no known version uses the given major version.private static @NonNull JavaVersion[]JavaVersion.resolveActualJavaVersions()Constructs an array of the java versions that are actually usable in the runtime (this excludes the unsupported and next constants).private static @NonNull JavaVersionJavaVersion.resolveRuntimeVersion()Resolves the runtime version of the current jvm.static @NonNull JavaVersionJavaVersion.runtimeVersion()Get the java version enum constant representing the current runtime version.static JavaVersionReturns the enum constant of this class with the specified name.static JavaVersion[]JavaVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in eu.cloudnetservice.driver.base that return types with arguments of type JavaVersionModifier and TypeMethodDescriptionstatic @NonNull Optional<JavaVersion> JavaVersion.fromClassFileVersion(double classFileVersion) Finds the java version enum constant that is representing the given class file version.static @NonNull Optional<JavaVersion> JavaVersion.fromMajor(int version) Finds the exact known java version from the given major version.Methods in eu.cloudnetservice.driver.base with parameters of type JavaVersionModifier and TypeMethodDescriptionbooleanJavaVersion.isInRange(@NonNull JavaVersion lowerBound, @NonNull JavaVersion upperBound) Checks if this java version is newer or at the given lower bound and older or at the given upper bound.booleanJavaVersion.isNewerOrAt(@NonNull JavaVersion version) Checks if this java version is newer or at the given other version.booleanJavaVersion.isOlderOrAt(@NonNull JavaVersion version) Checks if this java version is older or at the given other version. -
Uses of JavaVersion in eu.cloudnetservice.driver.module
Methods in eu.cloudnetservice.driver.module that return JavaVersionModifier and TypeMethodDescriptionModuleConfiguration.minJavaVersion()Get the minimum java runtime version this module can run on or null if all runtime versions are supported.Methods in eu.cloudnetservice.driver.module with parameters of type JavaVersionModifier and TypeMethodDescriptionbooleanModuleConfiguration.canRunOn(@NonNull JavaVersion javaVersion) Checks if this module can run on the specified java runtime version.