public class EclipseWorkspaceWriter extends Object implements WorkspaceWriter
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
EclipseWorkspaceWriter() |
Modifier and Type | Method and Description |
---|---|
WorkspaceWriter |
init(Log logger,
WorkspaceConfiguration config)
Init this writer.
|
void |
write()
Main method that should be implemented by the writer to do the work.
|
public static final String ECLIPSE_PLUGINS_METADATA_DIR
public static final String ECLIPSE_CORE_RUNTIME_SETTINGS_DIR
public static final String DIR_DOT_SETTINGS
public static final String ECLIPSE_JDT_CORE_PREFS_FILE
public static final String CLASSPATH_VARIABLE_M2_REPO
public static final String ECLIPSE_JDT_UI_PREFS_FILE
public WorkspaceWriter init(Log logger, WorkspaceConfiguration config)
WorkspaceWriter
init
in interface WorkspaceWriter
logger
- mojo logger.config
- writer configuration.public void write() throws MojoExecutionException
WorkspaceWriter
write
in interface WorkspaceWriter
MojoExecutionException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.