Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 01ed744bb1c2fb950427b8fbd3a890ba271228ea (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                                                                
                                    










                                                                                 

                      


                                                   
                                                                    


   
                                                                               













                                                                                                                  





                                                                                                                       
 
/*******************************************************************************
 * Copyright (c) 2011 Sonatype, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *      Sonatype, Inc. - initial API and implementation
 *******************************************************************************/

package org.eclipse.m2e.internal.launch;

import java.util.List;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant;


/**
 * Participates in Maven launch command line construction, execution and debug.
 * 
 * @noimplement This is an experimental interface and can be changed or removed without notice.
 */
public interface IMavenLaunchParticipant {

  /**
   * Returns additional program arguments or <code>null</code>.
   */
  public String getProgramArguments(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor);

  /**
   * Returns additional vm arguments or <code>null</code>
   */
  public String getVMArguments(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor);

  /**
   * Returns additional source lookup participants or <code>null</code>
   */
  public List<ISourceLookupParticipant> getSourceLookupParticipants(ILaunchConfiguration configuration, ILaunch launch,
      IProgressMonitor monitor);
}

Back to the top