org.webpieces.plugins.properties.PropertiesGuiDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-properties Show documentation
Show all versions of plugin-properties Show documentation
Webpieces database backed property store
package org.webpieces.plugins.properties;
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 PropertiesGuiDescriptor implements BackendGuiDescriptor {
@Override
public List getWireIntoGuiDescriptors() {
List descriptors = new ArrayList<>();
descriptors.add(new PageDescriptor(MenuCategory.MANAGEMENT, "Modify Server Properties", PropertiesRouteId.MAIN_PROPERTIES, true));
return descriptors;
}
@Override
public String getPluginName() {
return PropertiesPlugin.class.getName();
}
}