org.webpieces.plugins.hsqldb.H2DbGuiDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-h2db Show documentation
Show all versions of plugin-h2db Show documentation
Webpieces in-memory database plugin
package org.webpieces.plugins.hsqldb;
import java.util.ArrayList;
import java.util.List;
import org.webpieces.plugins.backend.spi.BackendGuiDescriptor;
import org.webpieces.plugins.backend.spi.MenuCategory;
import org.webpieces.plugins.backend.spi.PageDescriptor;
public class H2DbGuiDescriptor implements BackendGuiDescriptor {
@Override
public List getWireIntoGuiDescriptors() {
List descriptors = new ArrayList<>();
descriptors.add(new PageDescriptor(MenuCategory.MANAGEMENT, "InMemory Database", H2DbRouteId.REDIRECT_TO_DB_GUI, false));
return descriptors;
}
@Override
public String getPluginName() {
return H2DbGuiDescriptor.class.getName();
}
}