Package com.atlassian.bamboo.util
Class ActionParamsUtils
- java.lang.Object
-
- com.atlassian.bamboo.util.ActionParamsUtils
-
public class ActionParamsUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable String
getParameter(com.opensymphony.xwork2.ActionContext actionContext, String parameterName)
static @Nullable String
getParameter(String parameterName)
static @NotNull Map<String,String[]>
getStringArrayMap()
static @Nullable String
getStringFromObject(@Nullable Object o)
Returns String representation of the Object.static boolean
hasParameter(String parameterName)
static @Nullable String[]
toStringArray(Object value)
-
-
-
Method Detail
-
getParameter
@Nullable public static @Nullable String getParameter(com.opensymphony.xwork2.ActionContext actionContext, String parameterName)
-
getStringFromObject
@Nullable public static @Nullable String getStringFromObject(@Nullable @Nullable Object o)
Returns String representation of the Object. If it's a String array, then it will return the first item in the array- Parameters:
o
-- Returns:
-
hasParameter
public static boolean hasParameter(String parameterName)
-
-