|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.util.ParameterCheck
public final class ParameterCheck
Utility class to perform various common parameter checks
| Constructor Summary | |
|---|---|
ParameterCheck()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterCheck()
| Method Detail |
|---|
public static final void mandatory(java.lang.String strParamName,
java.lang.Object object)
strParamName - Name of parameter to checkobject - Value of the parameter to check
public static final void mandatoryString(java.lang.String strParamName,
java.lang.String strParamValue)
strParamName - Name of parameter to checkstrParamValue - Value of the parameter to check
public static final void mandatoryCollection(java.lang.String strParamName,
java.util.Collection coll)
strParamName - Name of parameter to checkcoll - collection to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||