public final class ParameterCheck
extends java.lang.Object
| Constructor and Description |
|---|
ParameterCheck() |
| Modifier and Type | Method and Description |
|---|---|
static void |
mandatory(java.lang.String strParamName,
java.lang.Object object)
Checks that the parameter with the given name has content i.e.
|
static void |
mandatoryCollection(java.lang.String strParamName,
java.util.Collection coll)
Checks that the collection parameter contains at least one item.
|
static void |
mandatoryString(java.lang.String strParamName,
java.lang.String strParamValue)
Checks that the string parameter with the given name has content i.e.
|
public static final void mandatory(java.lang.String strParamName,
java.lang.Object object)
strParamName - Name of parameter to checkobject - Value of the parameter to checkpublic static final void mandatoryString(java.lang.String strParamName,
java.lang.String strParamValue)
strParamName - Name of parameter to checkstrParamValue - Value of the parameter to checkpublic static final void mandatoryCollection(java.lang.String strParamName,
java.util.Collection coll)
strParamName - Name of parameter to checkcoll - collection to checkCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.