Class ResolveMainClassHandler

java.lang.Object
com.microsoft.java.debug.plugin.internal.ResolveMainClassHandler

public class ResolveMainClassHandler extends Object
  • Constructor Details

    • ResolveMainClassHandler

      public ResolveMainClassHandler()
  • Method Details

    • resolveMainClass

      public Object resolveMainClass(List<Object> arguments)
      resolve main class and project name.
      Returns:
      an array of main class and project name
    • validateLaunchConfig

      public Object validateLaunchConfig(List<Object> arguments) throws Exception
      Validate whether the mainClass and projectName is correctly configured or not. If not, report the validation error and provide the quick fix proposal.
      Parameters:
      arguments - the mainClass and projectName configs.
      Returns:
      the validation response.
      Throws:
      Exception - when there are any errors during validating the mainClass and projectName.