AggregatedLogsBlock, AggregatedLogsNavBlock, DFSContainerLogsBlock, FooterBlock, HeaderBlock, InfoBlock, JQueryUI, LipsumBlock, LogAggregationHtmlBlock, NavBlock@LimitedPrivate({"YARN","MapReduce"})
public abstract class HtmlBlock
extends TextView
implements SubView
| Modifier and Type | Class | Description |
|---|---|---|
class |
HtmlBlock.Block |
View.ViewContext| Modifier and Type | Field | Description |
|---|---|---|
protected static long |
BYTES_IN_MB |
|
protected static java.lang.String |
DATE_PATTERN |
|
protected static java.lang.String |
UNAVAILABLE |
ERROR_DETAILS, TITLE, TITLE_LINK, USER| Modifier | Constructor | Description |
|---|---|---|
protected |
HtmlBlock() |
|
protected |
HtmlBlock(View.ViewContext ctx) |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hadoop.security.UserGroupInformation |
getCallerUGI() |
|
protected void |
initUserHelpInformationDiv(HtmlBlock.Block html,
boolean isEnabled) |
Initialize User Help Information Div.
|
void |
render() |
The API to render the view
|
protected abstract void |
render(HtmlBlock.Block html) |
Render a block of html.
|
void |
renderPartial() |
render the sub-view
|
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writerprotected static final java.lang.String UNAVAILABLE
protected static final long BYTES_IN_MB
protected static final java.lang.String DATE_PATTERN
protected HtmlBlock()
protected HtmlBlock(View.ViewContext ctx)
public void render()
Viewpublic void renderPartial()
SubViewrenderPartial in interface SubViewprotected abstract void render(HtmlBlock.Block html)
html - the block to renderprotected org.apache.hadoop.security.UserGroupInformation getCallerUGI()
protected void initUserHelpInformationDiv(HtmlBlock.Block html, boolean isEnabled)
html - HTML page.isEnabled - If federation is enabled.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.