Class ImmutableConditions
java.lang.Object
com.hubspot.immutables.validation.ImmutableConditions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckNotEmpty(String string, String template, Object... arguments) static voidcheckNotEmpty(Collection<?> collection, String template, Object... arguments) static <T> TcheckNotNull(T ref, String template, Object... arguments) static <T> TcheckPresent(Optional<T> maybe, String template, Object... arguments) static voidcheckValid(boolean expression, String template, Object... arguments)
-
Constructor Details
-
ImmutableConditions
public ImmutableConditions()
-
-
Method Details
-
checkValid
-
checkNotEmpty
-
checkNotEmpty
-
checkNotNull
-
checkPresent
-