|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.are.platform.impl.IBMiProductInfo
public class IBMiProductInfo
The IBMiProductInfo
class provides a set of information
about the ARE Core installed on the system where ARE is running.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright for class bytecode |
static java.lang.String |
MIN_REQUIRED_TOOLBOX_VERSION
Default minimum required IBM Toolbox for Java level required to use the base plugin supported shipped with ARE. |
static java.lang.String |
PROP_REQ_TOOLBOX_VERSION
Property in the template configuration that specifies the minimum required IBM Toolbox for Java level required to verify a system using that template. |
Constructor Summary | |
---|---|
IBMiProductInfo()
|
Method Summary | |
---|---|
boolean |
checkProductRequirements(java.util.logging.Logger logger)
Checks that the version of the IBM Toolbox for Java installed on the system meets the minimum required Toolbox level for the template that is being used to verify the system. |
java.io.File |
getJarDirectory()
Retrieves the location in the file system where the ARE product jar files are. |
java.lang.String |
getName()
Retrieves the ARE Core product name on the IBM i system |
java.io.File |
getScriptDirectory()
Retrieves the location in the file system where the ARE product scripts are. |
boolean |
isProductJar(java.io.File jarFileName)
Determines if the specified file is an ARE product jar file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String PROP_REQ_TOOLBOX_VERSION
public static final java.lang.String MIN_REQUIRED_TOOLBOX_VERSION
Constructor Detail |
---|
public IBMiProductInfo()
Method Detail |
---|
public java.lang.String getName()
getName
in interface ProductInfo
public java.io.File getJarDirectory()
getJarDirectory
in interface ProductInfo
public java.io.File getScriptDirectory()
getScriptDirectory
in interface ProductInfo
public boolean isProductJar(java.io.File jarFileName)
isProductJar
in interface ProductInfo
jarFileName
- The jar file to check
true
if the specified file is an ARE product jar
file, false
if it is notpublic boolean checkProductRequirements(java.util.logging.Logger logger)
checkProductRequirements
in interface ProductInfo
logger
- A logger to use for logging any problems or details
true
if the IBM Toolbox for Java version meets the
minimum required level, false
if it does not
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |