org.apache.maven.plugin.eclipse.writers.workspace
Class EclipseWorkspaceWriter

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.writers.workspace.EclipseWorkspaceWriter
All Implemented Interfaces:
WorkspaceWriter

public class EclipseWorkspaceWriter
extends Object
implements WorkspaceWriter


Field Summary
static String CLASSPATH_VARIABLE_M2_REPO
          Property constant under which Variable 'M2_REPO' is setup.
static String DIR_DOT_SETTINGS
          Directory where workspace specific settings are written.
static String ECLIPSE_CORE_RUNTIME_SETTINGS_DIR
          Path under folder where Eclipse Workspace Runtime settings are stored.
static String ECLIPSE_JDT_CORE_PREFS_FILE
          File that stores the Eclipse JDT Core preferences.
static String ECLIPSE_JDT_UI_PREFS_FILE
          File that stores the Eclipse JDT UI preferences.
static String ECLIPSE_PLUGINS_METADATA_DIR
          Path under Eclipse workspace where Eclipse Plugin metadata/config is stored.
 
Constructor Summary
EclipseWorkspaceWriter()
           
 
Method Summary
 WorkspaceWriter init(Log logger, WorkspaceConfiguration config)
          Init this writer.
 void write()
          Main method that should be implemented by the writer to do the work.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECLIPSE_PLUGINS_METADATA_DIR

public static final String ECLIPSE_PLUGINS_METADATA_DIR
Path under Eclipse workspace where Eclipse Plugin metadata/config is stored.

See Also:
Constant Field Values

ECLIPSE_CORE_RUNTIME_SETTINGS_DIR

public static final String ECLIPSE_CORE_RUNTIME_SETTINGS_DIR
Path under folder where Eclipse Workspace Runtime settings are stored.

See Also:
Constant Field Values

DIR_DOT_SETTINGS

public static final String DIR_DOT_SETTINGS
Directory where workspace specific settings are written.

See Also:
Constant Field Values

ECLIPSE_JDT_CORE_PREFS_FILE

public static final String ECLIPSE_JDT_CORE_PREFS_FILE
File that stores the Eclipse JDT Core preferences.

See Also:
Constant Field Values

CLASSPATH_VARIABLE_M2_REPO

public static final String CLASSPATH_VARIABLE_M2_REPO
Property constant under which Variable 'M2_REPO' is setup.

See Also:
Constant Field Values

ECLIPSE_JDT_UI_PREFS_FILE

public static final String ECLIPSE_JDT_UI_PREFS_FILE
File that stores the Eclipse JDT UI preferences.

See Also:
Constant Field Values
Constructor Detail

EclipseWorkspaceWriter

public EclipseWorkspaceWriter()
Method Detail

init

public WorkspaceWriter init(Log logger,
                            WorkspaceConfiguration config)
Description copied from interface: WorkspaceWriter
Init this writer.

Specified by:
init in interface WorkspaceWriter
Parameters:
logger - mojo logger.
config - writer configuration.
Returns:
the writer instance

write

public void write()
           throws MojoExecutionException
Description copied from interface: WorkspaceWriter
Main method that should be implemented by the writer to do the work.

Specified by:
write in interface WorkspaceWriter
Throws:
MojoExecutionException


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