public interface ActionParametersMap extends Map<String,Object>
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(@Nullable String key)
Returns a boolean value from the map of parameters.
|
double |
getDouble(@Nullable String key,
double defaultValue)
Retrieve Double value from the map of parameters.
|
@NotNull Map<String,File> |
getFiles()
Returns map of Files uploaded to this form.
|
int |
getInt(@Nullable String key,
int defaultValue)
Retrieve Integer value from the map of parameters.
|
long |
getLong(@Nullable String key,
long defaultValue)
Retrieve Long value from the map of parameters.
|
Map<String,Object> |
getParameters()
Returns internal map of parameters.
|
@Nullable String |
getString(@Nullable String key)
Returns a String value from the map of parameters.
|
@NotNull String |
getString(@Nullable String key,
@NotNull String defaultString)
Returns a String value from the map of parmeters.
|
@Nullable String[] |
getStringArray(@Nullable String key)
Returns a String[] value from the map of parameters.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
@Nullable @Nullable String getString(@Nullable @Nullable String key)
key
- Key of value to be searched in the map@NotNull @NotNull String getString(@Nullable @Nullable String key, @NotNull @NotNull String defaultString)
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 @Nullable String[] getStringArray(@Nullable @Nullable String key)
key
- Key of value to be searched in the mapint getInt(@Nullable @Nullable String key, int defaultValue)
key
- Key of value to be searched in the mapdefaultValue
- Default value to be returned if key not found or not convertible to Integerlong getLong(@Nullable @Nullable String key, long defaultValue)
key
- Key of value to be searched in the mapdefaultValue
- Default value to be returned if key not found or not convertible to Longdouble getDouble(@Nullable @Nullable String key, double defaultValue)
key
- Key of value to be searched in the mapdefaultValue
- Default value to be returned if key not found or not convertible to Doubleboolean getBoolean(@Nullable @Nullable String key)
key
- Key of value to be searched in the map@NotNull @NotNull Map<String,File> getFiles()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.