Package net.ssehub.easy.producer.eclipse
Class EASyUtils
- java.lang.Object
-
- net.ssehub.easy.producer.eclipse.EASyUtils
-
public class EASyUtils extends java.lang.ObjectSome utility methods.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description private static EASyLoggerFactory.EASyLoggerLOGGER
-
Constructor Summary
Constructors Modifier Constructor Description privateEASyUtils()Prevents this class from being instantiated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddImport(PLPInfo plp, PLPInfo predecessor, boolean considerVIL)static voiddetermineConfigurationPaths(org.eclipse.core.resources.IProject project)Determines the configuration path of the project (considersContributions).static voidinitialize(org.eclipse.core.resources.IProject project, PLPInfo plp)Initializes the given project (considersContributions).static voidloadProject(org.eclipse.core.resources.IProject project)Loads a project and registers it if necessary.
-
-
-
Field Detail
-
LOGGER
private static final EASyLoggerFactory.EASyLogger LOGGER
-
-
Method Detail
-
loadProject
public static void loadProject(org.eclipse.core.resources.IProject project) throws PersistenceExceptionLoads a project and registers it if necessary.- Parameters:
project- the project to load- Throws:
PersistenceException- in case of errors loading the project
-
determineConfigurationPaths
public static void determineConfigurationPaths(org.eclipse.core.resources.IProject project)
Determines the configuration path of the project (considersContributions).- Parameters:
project- the project to determine the configuration path for
-
initialize
public static void initialize(org.eclipse.core.resources.IProject project, PLPInfo plp) throws java.io.IOExceptionInitializes the given project (considersContributions).- Parameters:
project- the parent Eclipse projectplp- the product line project- Throws:
java.io.IOException- in case of any I/O exception during initialization
-
-