public class ProjectCommands
extends java.lang.Object
LowlevelCommands.startEASy().| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
XTEXT_NATURE_ID |
| Constructor and Description |
|---|
ProjectCommands() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
checkFolder(java.io.File file,
java.lang.String name)
Checks a folder for existence and folder nature.
|
static void |
setConfigLocation(java.io.File project,
java.io.File ivmlFolder,
java.io.File vilFolder)
Defines the configuration locations.
|
static void |
setConfigLocation(java.io.File project,
java.io.File ivmlFolder,
java.io.File vilFolder,
java.io.File vtlFolder)
Defines the configuration locations.
|
static void |
toggleEasyNature(java.io.File project,
java.lang.String... classpath)
Toggles the EASy nature on a folder representing a project.
|
static void |
updateDependencies(java.io.File project,
java.lang.String... classpath)
Update product line dependencies via
Contributions.updateDependencies(File, String...). |
private static final java.lang.String XTEXT_NATURE_ID
public static void toggleEasyNature(java.io.File project,
java.lang.String... classpath)
throws java.io.IOException,
java.lang.IllegalArgumentException
Contributions.updateDependencies(File, String...).project - the folder representing a projectclasspath - the classpath of the project (needed in case of importing product line models,
may be null or empty)java.io.IOException - in case of writing the configuration file causes an I/O problemjava.lang.IllegalArgumentException - in case that the given folders are invalidpublic static void updateDependencies(java.io.File project,
java.lang.String... classpath)
throws java.io.IOException
Contributions.updateDependencies(File, String...).project - the folder representing a projectclasspath - the classpath of the project (needed in case of importing product line models,
may be null or empty)java.io.IOException - in case of writing the configuration file causes an I/O problemjava.lang.IllegalArgumentException - in case that the given folders are invalidprivate static final void checkFolder(java.io.File file,
java.lang.String name)
throws java.lang.IllegalArgumentException
file - the file to be checkedname - the parameter name (for formatting the exception)java.lang.IllegalArgumentException - in case that the given file is not a folderpublic static void setConfigLocation(java.io.File project,
java.io.File ivmlFolder,
java.io.File vilFolder)
throws java.io.IOException,
java.lang.IllegalArgumentException
project - the folder representing a projectivmlFolder - the IVML modelsvilFolder - the VIL modelsjava.io.IOException - in case of writing the configuration file causes an I/O problemjava.lang.IllegalArgumentException - in case that at least one of the given folders is invalidsetConfigLocation(File, File, File, File)public static void setConfigLocation(java.io.File project,
java.io.File ivmlFolder,
java.io.File vilFolder,
java.io.File vtlFolder)
throws java.io.IOException,
java.lang.IllegalArgumentException
project - the folder representing a projectivmlFolder - the IVML modelsvilFolder - the VIL modelsvtlFolder - the VTL modelsjava.io.IOException - in case of writing the configuration file causes an I/O problemjava.lang.IllegalArgumentException - in case that at least one of the given folders is invalidCopyright © 2009 - 2018 SSE. All Rights Reserved.