Interface IVMInstall3

  • All Known Implementing Classes:
    AbstractVMInstall, VMStandin

    public interface IVMInstall3
    Optional extensions that may be implemented by an IVMInstall, providing access to a JRE's system properties.

    Clients that implement IVMInstall may additionally implement this interface. However, it is strongly recommended that clients subclass AbstractVMInstall instead, which already implements this interface, and will insulate clients from additional API additions in the future.

    Since:
    3.2
    • 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 or null
        Returns:
        map of system property names to associated property values
        Throws:
        CoreException - if an exception occurs evaluating the properties
        Since:
        3.2