|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.common.collect.ForwardingObject com.google.common.collect.ForwardingMap<java.lang.String,java.lang.Object> com.atlassian.bamboo.webwork.util.ActionParametersMapImpl
public class ActionParametersMapImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
ActionParametersMapImpl(com.opensymphony.xwork.ActionContext actionContext)
|
|
ActionParametersMapImpl(java.util.Map<java.lang.String,?> parameters)
|
Method Summary | |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
delegate()
|
boolean |
getBoolean(java.lang.String key)
Returns a boolean value from the map of parameters. |
double |
getDouble(java.lang.String key,
double defaultValue)
Retrieve Double value from the map of parameters. |
int |
getInt(java.lang.String key,
int defaultValue)
Retrieve Integer value from the map of parameters. |
long |
getLong(java.lang.String key,
long defaultValue)
Retrieve Long value from the map of parameters. |
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Returns internal map of parameters. |
java.lang.String |
getString(java.lang.String key)
Returns a String value from the map of parameters. |
java.lang.String[] |
getStringArray(java.lang.String key)
Returns a String[] value from the map of parameters. |
Methods inherited from class com.google.common.collect.ForwardingMap |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class com.google.common.collect.ForwardingObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public ActionParametersMapImpl(com.opensymphony.xwork.ActionContext actionContext)
public ActionParametersMapImpl(java.util.Map<java.lang.String,?> parameters)
Method Detail |
---|
protected java.util.Map<java.lang.String,java.lang.Object> delegate()
delegate
in class com.google.common.collect.ForwardingMap<java.lang.String,java.lang.Object>
@Nullable public java.lang.String getString(@Nullable java.lang.String key)
ActionParametersMap
getString
in interface ActionParametersMap
key
- Key of value to be searched in the map
@Nullable public java.lang.String[] getStringArray(@Nullable java.lang.String key)
ActionParametersMap
getStringArray
in interface ActionParametersMap
key
- Key of value to be searched in the map
public double getDouble(@Nullable java.lang.String key, double defaultValue)
ActionParametersMap
getDouble
in interface ActionParametersMap
key
- Key of value to be searched in the mapdefaultValue
- Default value to be returned if key not found or not convertible to Double
public int getInt(@Nullable java.lang.String key, int defaultValue)
ActionParametersMap
getInt
in interface ActionParametersMap
key
- Key of value to be searched in the mapdefaultValue
- Default value to be returned if key not found or not convertible to Integer
public long getLong(@Nullable java.lang.String key, long defaultValue)
ActionParametersMap
getLong
in interface ActionParametersMap
key
- Key of value to be searched in the mapdefaultValue
- Default value to be returned if key not found or not convertible to Long
public boolean getBoolean(@Nullable java.lang.String key)
ActionParametersMap
getBoolean
in interface ActionParametersMap
key
- Key of value to be searched in the map
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
ActionParametersMap
getParameters
in interface ActionParametersMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |