Class LaunchUtils


  • public final class LaunchUtils
    extends Object
    Helper methods to deal with launch configurations.
    Version:
    $Rev$
    Author:
    herrmama, $Author$
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration, String attributeName, boolean defaultValue)
      Get the value of an attribute of type boolean from a launch configuration.
      static int getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration, String attributeName, int defaultValue)
      Get the value of an attribute of type integer from a launch configuration.
      static String getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration, String attributeName, String defaultValue)
      Get the value of an attribute of type String from a launch configuration.
      static List<String> getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration, String attributeName, List<String> defaultValue)
      Get the value of an attribute of type List of Strings from a launch configuration.
    • Method Detail

      • getAttribute

        public static String getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                          String attributeName,
                                          String defaultValue)
        Get the value of an attribute of type String from a launch configuration.
      • getAttribute

        public static List<String> getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                                String attributeName,
                                                List<String> defaultValue)
        Get the value of an attribute of type List of Strings from a launch configuration.
      • getAttribute

        public static boolean getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                           String attributeName,
                                           boolean defaultValue)
        Get the value of an attribute of type boolean from a launch configuration.
      • getAttribute

        public static int getAttribute​(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                       String attributeName,
                                       int defaultValue)
        Get the value of an attribute of type integer from a launch configuration.