|
||||||||||
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. |
java.util.Map<java.lang.String,java.io.File> |
getFiles()
Returns map of Files uploaded to this form. |
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 |
getString(java.lang.String key,
java.lang.String defaultString)
Returns a String value from the map of parmeters. |
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>
@NotNull public java.lang.String getString(@Nullable java.lang.String key, @NotNull java.lang.String defaultString)
ActionParametersMap
getString
in interface ActionParametersMap
key
- Key of value to be searched in the mapdefaultString
- the default string to return if the property does not exist in the map
@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
@NotNull public java.util.Map<java.lang.String,java.io.File> getFiles()
ActionParametersMap
getFiles
in interface ActionParametersMap
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 |