public static class RendererHints.NamedActionWithUrl<T> extends RendererHints.Hint<T> implements RendererHints.NamedAction
Constructor and Description |
---|
RendererHints.NamedActionWithUrl(java.lang.String actionName) |
RendererHints.NamedActionWithUrl(java.lang.String actionName,
groovy.lang.Closure<java.lang.String> postProcessing)
Deprecated.
|
RendererHints.NamedActionWithUrl(java.lang.String actionName,
com.google.common.base.Function<T,java.lang.String> postProcessing) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionName() |
java.lang.String |
getUrl(Entity e,
AttributeSensor<T> s)
Deprecated.
since 0.7.0 call
getUrlFromValue(Object) , parsing the sensor value yourself |
java.lang.String |
getUrlFromValue(T v)
this is the method invoked by web console SensorSummary, at the moment
|
int |
hashCode() |
public RendererHints.NamedActionWithUrl(java.lang.String actionName)
@Deprecated public RendererHints.NamedActionWithUrl(java.lang.String actionName, groovy.lang.Closure<java.lang.String> postProcessing)
public RendererHints.NamedActionWithUrl(java.lang.String actionName, com.google.common.base.Function<T,java.lang.String> postProcessing)
@Deprecated public java.lang.String getUrl(Entity e, AttributeSensor<T> s)
getUrlFromValue(Object)
, parsing the sensor value yourselfpublic java.lang.String getActionName()
getActionName
in interface RendererHints.NamedAction
public java.lang.String getUrlFromValue(T v)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object