Package com.basis.api.admin
Class BBjAdminJREInfo
java.lang.Object
com.basis.api.admin.BBjAdminJREInfo
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
static final String
static final String
static final String
static final String
static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
static final String
static final String
static final String
static final String
static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayForArch
(String p_arch) getDisplayForOs
(String p_os) protected String
getFileExt
(File p_file) protected String
getFileNameNoExt
(File p_file) protected void
getJREInfoFromArchiveEntry
(org.apache.commons.compress.archivers.ArchiveEntry p_archiveEntry, org.apache.commons.compress.archivers.ArchiveInputStream p_archiveInputStream) protected void
getJREInfoFromCompressedFile
(File p_compressedFile) protected void
getJREInfoFromJar
(File p_jarFile) protected void
getJREInfoFromTarGzip
(File p_tarGzipFile) protected void
getJREInfoFromZip
(File p_zipFile) getJREOS()
boolean
void
setJREArchitecture
(String p_jreArchitecture) void
void
setJREVersion
(String p_jreVersion) void
void
validateJREForPlatform
(String p_platform)
-
Field Details
-
JAR_EXT
- See Also:
-
GZIP_EXT
- See Also:
-
TAR_EXT
- See Also:
-
ZIP_EXT
- See Also:
-
JAVA_VERSION
- See Also:
-
OS_ARCH
- See Also:
-
OS_NAME
- See Also:
-
UNKNOWN
- See Also:
-
RELEASE
- See Also:
-
APPDEPLOYMENT
- See Also:
-
JETTY
- See Also:
-
HTTP
- See Also:
-
JRE_OS_NAME_MAC
- See Also:
-
JRE_OS_NAME_WINDOWS
- See Also:
-
JRE_OS_NAME_LINUX
- See Also:
-
DISPLAY_JRE_OS_NAME_MAC
- See Also:
-
DISPLAY_JRE_OS_NAME_WINDOWS
- See Also:
-
DISPLAY_JRE_OS_NAME_LINUX
- See Also:
-
JRE_OS_ARCH_AARCH64
- See Also:
-
JRE_OS_ARCH_X64
- See Also:
-
DISPLAY_JRE_OS_ARCH_AARCH64
- See Also:
-
DISPLAY_JRE_OS_ARCH_X64
- See Also:
-
-
Constructor Details
-
BBjAdminJREInfo
-
-
Method Details
-
validateJRE
- Throws:
Exception
-
validateJREForPlatform
- Throws:
Exception
-
isJREValid
public boolean isJREValid() -
setJREOS
-
getJREOS
-
setJREArchitecture
-
getJREArchitecture
-
setJREVersion
-
getJREVersion
-
getJREInfoFromCompressedFile
- Throws:
Exception
-
getJREInfoFromTarGzip
- Throws:
Exception
-
getJREInfoFromJar
- Throws:
Exception
-
getJREInfoFromZip
- Throws:
Exception
-
getJREInfoFromArchiveEntry
protected void getJREInfoFromArchiveEntry(org.apache.commons.compress.archivers.ArchiveEntry p_archiveEntry, org.apache.commons.compress.archivers.ArchiveInputStream p_archiveInputStream) throws Exception - Throws:
Exception
-
getFileExt
- Throws:
Exception
-
getFileNameNoExt
- Throws:
Exception
-
getDisplayForOs
-
getDisplayForArch
-