26 lines
598 B
Java
26 lines
598 B
Java
package de.nbscloud.webcontainer.registry;
|
|
|
|
import java.util.Collection;
|
|
import java.util.Collections;
|
|
|
|
public interface App {
|
|
// New app:
|
|
// 1) Create module
|
|
// 2) Add dependencies (like other app modules)
|
|
// 3) Register module in web-container module
|
|
// 4) Add module to dependency management in aggregator pom
|
|
// 5) Add module package to web-container application @ComponentScan
|
|
|
|
String getId();
|
|
|
|
String getIcon();
|
|
|
|
String getStartPath();
|
|
|
|
int getIndex();
|
|
|
|
default Collection<Widget> getWidgets() {
|
|
return Collections.EMPTY_LIST;
|
|
}
|
|
}
|