Class RMParameterCheck
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.util.RMParameterCheck
Utility class that contains validation not present in
ParameterCheck
.- Author:
- tpage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkNotBlank
(String strParamName, String strParamValue) Checks that the string parameter with the given name is not blank i.e.
-
Constructor Details
-
RMParameterCheck
public RMParameterCheck()
-
-
Method Details
-
checkNotBlank
public static void checkNotBlank(String strParamName, String strParamValue) throws IllegalArgumentException Checks that the string parameter with the given name is not blank i.e. it is not null, zero length or entirely composed of whitespace.- Parameters:
strParamName
- Name of parameter to checkstrParamValue
- Value of the parameter to check- Throws:
IllegalArgumentException
-