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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayForArch(String p_arch) getDisplayForOs(String p_os) protected StringgetFileExt(File p_file) protected StringgetFileNameNoExt(File p_file) protected voidgetJREInfoFromArchiveEntry(org.apache.commons.compress.archivers.ArchiveEntry p_archiveEntry, org.apache.commons.compress.archivers.ArchiveInputStream p_archiveInputStream) protected voidgetJREInfoFromCompressedFile(File p_compressedFile) protected voidgetJREInfoFromJar(File p_jarFile) protected voidgetJREInfoFromTarGzip(File p_tarGzipFile) protected voidgetJREInfoFromZip(File p_zipFile) getJREOS()booleanvoidsetJREArchitecture(String p_jreArchitecture) voidvoidsetJREVersion(String p_jreVersion) voidvoidvalidateJREForPlatform(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
-