org.apache.maven.plugin.eclipse.writers
Class EclipseAntExternalLaunchConfigurationWriter

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
      extended by org.apache.maven.plugin.eclipse.writers.EclipseLaunchConfigurationWriter
          extended by org.apache.maven.plugin.eclipse.writers.EclipseAntExternalLaunchConfigurationWriter
All Implemented Interfaces:
EclipseWriter

public class EclipseAntExternalLaunchConfigurationWriter
extends EclipseLaunchConfigurationWriter

Writes an external ant launch file.

Author:
Kenney Westerhof

Field Summary
 
Fields inherited from class org.apache.maven.plugin.eclipse.writers.EclipseLaunchConfigurationWriter
FILE_DOT_EXTERNAL_TOOL_BUILDERS
 
Fields inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
config, log
 
Constructor Summary
EclipseAntExternalLaunchConfigurationWriter()
           
 
Method Summary
protected  void addAttributes(XMLWriter writer)
           
protected  String getBuilderLocation()
           
protected  String getLaunchConfigurationType()
           
protected  List getMonitoredResources()
           
 EclipseWriter init(Log log, EclipseWriterConfig config, String launcherName, String buildfilePath)
           
 
Methods inherited from class org.apache.maven.plugin.eclipse.writers.EclipseLaunchConfigurationWriter
getRefreshScope, getRunBuildKinds, init, isAppendEnvironmentVariables, isLaunchInBackground, write, writeAttribute, writeAttribute, writeAttribute
 
Methods inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EclipseAntExternalLaunchConfigurationWriter

public EclipseAntExternalLaunchConfigurationWriter()
Method Detail

init

public EclipseWriter init(Log log,
                          EclipseWriterConfig config,
                          String launcherName,
                          String buildfilePath)
Parameters:
launcherName - Name of the launch file, for instance 'AntBuilder.launch'
buildfilePath - Project relative path to the ant build file, for instance 'eclipse-build.xml'
Returns:
this

addAttributes

protected void addAttributes(XMLWriter writer)
Specified by:
addAttributes in class EclipseLaunchConfigurationWriter

getLaunchConfigurationType

protected String getLaunchConfigurationType()
Specified by:
getLaunchConfigurationType in class EclipseLaunchConfigurationWriter

getBuilderLocation

protected String getBuilderLocation()
Specified by:
getBuilderLocation in class EclipseLaunchConfigurationWriter

getMonitoredResources

protected List getMonitoredResources()
Overrides:
getMonitoredResources in class EclipseLaunchConfigurationWriter


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.