Serializable
public class ResourceLevel extends Object implements Serializable
In most cases within the IBM Toolbox for Java, the level
is the version, release, and modification level of the system
to which you are connected, in the form VxRxMx
.
Modifier and Type | Field | Description |
---|---|---|
static String |
V4R4M0 |
Deprecated.
Constant value for the level representing V4R4M0.
|
static String |
V4R5M0 |
Deprecated.
Constant value for the level representing V4R5M0.
|
static String |
V5R1M0 |
Deprecated.
Constant value for the level representing V5R1M0.
|
Constructor | Description |
---|---|
ResourceLevel() |
Deprecated.
Constructs a ResourceLevel object which indicates that all levels are supported.
|
ResourceLevel(String minLevel) |
Deprecated.
Constructs a ResourceLevel object.
|
ResourceLevel(String minLevel,
String maxLevel) |
Deprecated.
Constructs a ResourceLevel object.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
checkLevel(int vrm) |
Deprecated.
Indicates if the VRM is within the range of this level.
|
boolean |
checkLevel(String level) |
Deprecated.
Indicates if the specified level is within the range of this level.
|
String |
getMaxLevel() |
Deprecated.
Returns the maximum supported level.
|
String |
getMinLevel() |
Deprecated.
Returns the minimum supported level.
|
String |
toString() |
Deprecated.
Returns a String representation of the level.
|
static String |
vrmToLevel(int vrm) |
Deprecated.
Converts the VRM to a level.
|
public static final String V4R4M0
public static final String V4R5M0
public static final String V5R1M0
public ResourceLevel()
public ResourceLevel(String minLevel)
minLevel
- The minimum supported level, or null if all levels are supported.public ResourceLevel(String minLevel, String maxLevel)
minLevel
- The minimum supported level, or null if all previous levels are supported.maxLevel
- The maximum supported level, or null if all following levels are supported.public boolean checkLevel(int vrm)
vrm
- The VRM for a system.AS400.getVRM()
public boolean checkLevel(String level)
level
- The specified level.public String getMinLevel()
public String getMaxLevel()
public static String vrmToLevel(int vrm)
vrm
- The VRM for a system.AS400.getVRM()
Copyright © 2023. All rights reserved.