public class Compatibility extends Object
| Constructor and Description |
|---|
Compatibility() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkMinRestApiVersion(TaskListener taskListener,
ApiVersion minRequiredVersion)
Checks whether the REST-API of EXAM has the minimum required version
|
static void |
checkTestConfig(TaskListener listener,
TestConfiguration tc)
Checks whether TestConfig ist compatible with the REST API version
|
static ApiVersion |
getClientApiVersion()
returns the actual client api Version
|
static boolean |
isVersionHigher200()
Returns true is the REST-API version is equal or higher 2.0.0
|
static void |
setClientApiVersion(ApiVersion clientApiVersion) |
public static ApiVersion getClientApiVersion()
public static void setClientApiVersion(ApiVersion clientApiVersion)
clientApiVersion - ApiVersionpublic static void checkMinRestApiVersion(@Nonnull TaskListener taskListener, ApiVersion minRequiredVersion) throws IOException
taskListener - taskListener for loggingminRequiredVersion - minimum Version requiredIOException - IOExceptionpublic static void checkTestConfig(TaskListener listener, TestConfiguration tc) throws IOException
IOException - IOExceptionpublic static boolean isVersionHigher200()
Copyright © 2016–2023 MicroNova AG. All rights reserved.