Class Overview
Utility class for assertions
Summary
Public Methods |
static
void
|
notBlank(String input, String errorMessage)
Test if the given String is blank (null, empty or only whitespace)
|
static
void
|
notNull(Object object, String errorMessage)
Test if the given Object is null
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Public Constructors
Public Methods
public
static
void
notBlank
(String input, String errorMessage)
Test if the given String is blank (null, empty or only whitespace)
Parameters
input
| string |
errorMessage
| to be used if the string is blank |
public
static
void
notNull
(Object object, String errorMessage)
Test if the given Object is null
Parameters
errorMessage
| to be used if the object is null |