public class SupportedSoftwareVersionDetector<S extends SoftwareVersion> extends SoftwareVersionDetector<S>
SoftwareVersion
s.
On demand it scans the system in oder to find the really installed SoftwareVersion
s.
The search is made by testing whether the expected executables can be found.Modifier and Type | Field and Description |
---|---|
static java.io.File |
WINDOWS_PROGRAM_PATH |
static java.io.File |
WINDOWS_PROGRAM_PATH_X86 |
Constructor and Description |
---|
SupportedSoftwareVersionDetector(ApplicationContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
addSupportedVersion(S version) |
java.util.List<S> |
getSupportedVersionDefinitions() |
static java.io.File |
getWindowsProgramPath() |
static java.io.File |
getWindowsX86ProgramPath() |
static boolean |
isWindows64BitSystem() |
java.util.List<S> |
scanInstalledVersions() |
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
public static final java.io.File WINDOWS_PROGRAM_PATH
public static final java.io.File WINDOWS_PROGRAM_PATH_X86
public SupportedSoftwareVersionDetector(ApplicationContext ctx)
public final void addSupportedVersion(S version)
public final java.util.List<S> getSupportedVersionDefinitions()
public final java.util.List<S> scanInstalledVersions()
scanInstalledVersions
in class SoftwareVersionDetector<S extends SoftwareVersion>
public static java.io.File getWindowsX86ProgramPath()
public static java.io.File getWindowsProgramPath()
public static boolean isWindows64BitSystem()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.