Package org.eclipse.jdt.launching
Interface IVMInstall3
-
- All Known Implementing Classes:
AbstractVMInstall
,VMStandin
public interface IVMInstall3
Optional extensions that may be implemented by anIVMInstall
, providing access to a JRE's system properties.Clients that implement
IVMInstall
may additionally implement this interface. However, it is strongly recommended that clients subclassAbstractVMInstall
instead, which already implements this interface, and will insulate clients from additional API additions in the future.- Since:
- 3.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
evaluateSystemProperties(String[] properties, IProgressMonitor monitor)
Evaluates the specified system properties in this VM, returning the result as a map of property names to property values.
-
-
-
Method Detail
-
evaluateSystemProperties
Map<String,String> evaluateSystemProperties(String[] properties, IProgressMonitor monitor) throws CoreException
Evaluates the specified system properties in this VM, returning the result as a map of property names to property values.- Parameters:
properties
- the property names to evaluate, for example{"user.home"}
monitor
- progress monitor ornull
- Returns:
- map of system property names to associated property values
- Throws:
CoreException
- if an exception occurs evaluating the properties- Since:
- 3.2
-
-