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 java.lang.Object
implements WorkspaceWriter


Field Summary
static java.lang.String CLASSPATH_VARIABLE_M2_REPO
          Property constant under which Variable 'M2_REPO' is setup.
static java.lang.String ECLIPSE_CORE_RUNTIME_SETTINGS_DIR
          Path under folder where Eclipse Workspace Runtime settings are stored.
static java.lang.String ECLIPSE_JDT_CORE_PREFS_FILE
          File that stores the Eclipse JDT Core preferences.
static java.lang.String ECLIPSE_JDT_UI_PREFS_FILE
          File that stores the Eclipse JDT UI preferences.
static java.lang.String ECLIPSE_PLUGINS_METADATA_DIR
          Path under Eclipse workspace where Eclipse Plugin metadata/config is stored.
 
Constructor Summary
EclipseWorkspaceWriter()
           
 
Method Summary
 WorkspaceWriter init(org.apache.maven.plugin.logging.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 java.lang.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 java.lang.String ECLIPSE_CORE_RUNTIME_SETTINGS_DIR
Path under folder where Eclipse Workspace Runtime settings are stored.

See Also:
Constant Field Values

ECLIPSE_JDT_CORE_PREFS_FILE

public static final java.lang.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 java.lang.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 java.lang.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(org.apache.maven.plugin.logging.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 org.apache.maven.plugin.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:
org.apache.maven.plugin.MojoExecutionException


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