Class RMParameterCheck

java.lang.Object
org.alfresco.module.org_alfresco_module_rm.util.RMParameterCheck

public class RMParameterCheck extends Object
Utility class that contains validation not present in ParameterCheck.
Author:
tpage
  • 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 check
      strParamValue - Value of the parameter to check
      Throws:
      IllegalArgumentException