Package io.quarkus.devui.spi.page
Class Page
- java.lang.Object
-
- io.quarkus.devui.spi.page.Page
-
public class Page extends Object
Define a page in Dev UI. This is not a full web page, but rather the section in the middle where extensions can display data. All pages (fragments) are rendered using Web components, but different builders exist to make it easy to define a page Navigation to this page is also defined here.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPage(String icon, String title, String staticLabel, String dynamicLabel, String streamingLabel, String componentName, String componentLink, Map<String,String> metadata, boolean embed, boolean includeInSubMenu, boolean internalComponent, String namespace, String namespaceLabel, String extensionId)
-
Method Summary
-
-
-
Constructor Detail
-
Page
protected Page(String icon, String title, String staticLabel, String dynamicLabel, String streamingLabel, String componentName, String componentLink, Map<String,String> metadata, boolean embed, boolean includeInSubMenu, boolean internalComponent, String namespace, String namespaceLabel, String extensionId)
-
-
Method Detail
-
getId
public String getId()
-
getComponentRef
public String getComponentRef()
-
getNamespace
public String getNamespace()
-
getNamespaceLabel
public String getNamespaceLabel()
-
getIcon
public String getIcon()
-
getTitle
public String getTitle()
-
getStaticLabel
public String getStaticLabel()
-
getDynamicLabel
public String getDynamicLabel()
-
getStreamingLabel
public String getStreamingLabel()
-
getComponentName
public String getComponentName()
-
getComponentLink
public String getComponentLink()
-
isEmbed
public boolean isEmbed()
-
isIncludeInSubMenu
public boolean isIncludeInSubMenu()
-
isInternal
public boolean isInternal()
-
getExtensionId
public String getExtensionId()
-
webComponentPageBuilder
public static WebComponentPageBuilder webComponentPageBuilder()
Here you provide the Web Component that should be rendered. You have full control over the page. You can use build time data if you made it available
-
externalPageBuilder
public static ExternalPageBuilder externalPageBuilder(String name)
Here you provide a url to an external resource. When code/markup, if can be displayed in a code view, when HTML it can render the HTML
-
rawDataPageBuilder
public static RawDataPageBuilder rawDataPageBuilder(String name)
Here you provide the data that should be rendered in raw json format
-
quteDataPageBuilder
public static QuteDataPageBuilder quteDataPageBuilder(String name)
Here you can render the data with a qute template
-
tableDataPageBuilder
public static TableDataPageBuilder tableDataPageBuilder(String name)
Here you provide the data that should be rendered in a table
-
-