public final class BatchRuntime extends Object
Modifier and Type | Field and Description |
---|---|
static int |
VERSION_MAJOR
Major version.
|
static int |
VERSION_MINOR
Minor version.
|
Modifier and Type | Method and Description |
---|---|
static String |
getLabel()
Returns the version label.
|
static void |
require(int major,
int minor)
Checks runtime version and raises an exception if the version is inconsistent.
|
public static final int VERSION_MAJOR
public static final int VERSION_MINOR
public static void require(int major, int minor)
major
- the major versionminor
- the minor versionIllegalStateException
- if versions are inconsistentpublic static String getLabel()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.