Class Assert
java.lang.Object
com.datastax.astra.internal.utils.Assert
Syntaxic sugar for common validations.
- Author:
- Cedrick LUNVEN (@clunven)
-
Method Summary
-
Method Details
-
hasLength
Input string should not be empty.- Parameters:
s
- string valuename
- param name
-
notNull
Input object should not be null- Parameters:
o
- object valuename
- param name
-
isTrue
Check condition at start.- Parameters:
condition
- predicate should be truemsg
- error message
-