public class MetricDisplayTag
extends javax.servlet.jsp.tagext.TagSupport
| Modifier and Type | Field and Description |
|---|---|
protected String |
bundle |
protected String |
locale |
static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
MetricDisplayTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
int |
doStartTag() |
String |
getDefaultKey()
Returns the defaultKey.
|
String |
getLongDate()
Returns the flag for whether or not the metric is a long/date
|
String |
getMetric()
Returns the metric.
|
String |
getSpan()
Returns the span.
|
String |
getUnit()
Returns the unit.
|
void |
release() |
void |
setDefaultKey(String defaultKey)
Sets the defaultKey.
|
void |
setLongDate(String longDate) |
void |
setMetric(String metric)
Sets the metric.
|
void |
setSpan(String span)
Sets the span.
|
void |
setUnit(String unit)
Sets the unit.
|
void |
validate() |
public static org.apache.commons.logging.Log log
protected String locale
protected String bundle
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic void validate()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic String getMetric()
public void setMetric(String metric)
metric - The metric to setpublic String getSpan()
public void setDefaultKey(String defaultKey)
defaultKey - The defaultKey to setpublic String getDefaultKey()
public void setSpan(String span)
span - The span to setpublic String getUnit()
public void setLongDate(String longDate)
longDate - public String getLongDate()
public void setUnit(String unit)
unit - The unit to setCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.