
public class MonitoredVmUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
commandLine(MonitoredVm vm)
Return the command line for the target Java application.
|
static boolean |
isAttachable(MonitoredVm vm)
Returns true if the VM supports attach-on-demand.
|
static String |
jvmArgs(MonitoredVm vm)
Return the JVM arguments for the target Java application.
|
static String |
jvmFlags(MonitoredVm vm)
Return the JVM flags for the target Java application.
|
static String |
mainArgs(MonitoredVm vm)
Return the arguments to the main class for the target Java application.
|
static String |
mainClass(MonitoredVm vm,
boolean fullPath)
Return the main class for the target Java application.
|
static String |
vmVersion(MonitoredVm vm)
Return the Java Virtual Machine Version.
|
public static String vmVersion(MonitoredVm vm) throws MonitorException
vm - the target MonitoredVmMonitorExceptionpublic static String commandLine(MonitoredVm vm) throws MonitorException
vm - the target MonitoredVmMonitorExceptionpublic static String mainArgs(MonitoredVm vm) throws MonitorException
vm - the target MonitoredVmMonitorExceptionpublic static String mainClass(MonitoredVm vm, boolean fullPath) throws MonitorException
vm - the target MonitoredVmfullPath - include the full path to Jar file, where applicableMonitorExceptionpublic static String jvmArgs(MonitoredVm vm) throws MonitorException
vm - the target MonitoredVmMonitorExceptionpublic static String jvmFlags(MonitoredVm vm) throws MonitorException
vm - the target MonitoredVmMonitorExceptionpublic static boolean isAttachable(MonitoredVm vm) throws MonitorException
vm - the target MonitoredVmMonitorExceptionCopyright © 2017–2018 earcam. All rights reserved.