Class Contributions
- java.lang.Object
-
- net.ssehub.easy.producer.core.contributions.Contributions
-
public abstract class Contributions extends java.lang.ObjectFor contributions to the EASY core. (preliminary, to be aligned with self-bootstrapping capabilities in future) Please do not change the name or the location of this class as it is populated via OSGI-DS.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<Contributions>REGISTEREDStores the registered UI contributions.
-
Constructor Summary
Constructors Constructor Description Contributions()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static voidregister(Contributions contribution)Registers a particular contribution.static voidunregister(Contributions contribution)Unregisters a particular contribution.static voidupdateDependencies(java.io.File project, java.lang.String... classpath)Updates product line dependencies.abstract voidupdateDependenciesImpl(java.io.File project, java.lang.String[] classpath)Updates product line dependencies.
-
-
-
Field Detail
-
REGISTERED
private static final java.util.List<Contributions> REGISTERED
Stores the registered UI contributions.
-
-
Method Detail
-
register
public static void register(Contributions contribution)
Registers a particular contribution.- Parameters:
contribution- the new contribution
-
unregister
public static void unregister(Contributions contribution)
Unregisters a particular contribution.- Parameters:
contribution- the contribution to be unregisted
-
updateDependencies
public static void updateDependencies(java.io.File project, java.lang.String... classpath) throws java.io.IOExceptionUpdates product line dependencies.- Parameters:
project- the folder representing a projectclasspath- the classpath of the project (needed in case of importing product line models, may be null or empty)- Throws:
java.io.IOException- in case that extracting dependent models failed
-
updateDependenciesImpl
public abstract void updateDependenciesImpl(java.io.File project, java.lang.String[] classpath) throws java.io.IOExceptionUpdates product line dependencies.- Parameters:
project- the folder representing a projectclasspath- the classpath of the project (needed in case of importing product line models, may be null or empty)- Throws:
java.io.IOException- in case that extracting dependent models failed
-
-