Package step.repositories.jira.util
Class Validation
- java.lang.Object
-
- step.repositories.jira.util.Validation
-
public class Validation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Validation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
validate(boolean condition, java.lang.String errorMessage)
static void
validate(boolean condition, java.util.function.Supplier<java.lang.String> errorMessageSupplier)
static void
validate(java.util.function.Supplier<java.lang.Boolean> condition, java.util.function.Supplier<java.lang.String> errorMessageSupplier)
-
-
-
Method Detail
-
validate
public static void validate(java.util.function.Supplier<java.lang.Boolean> condition, java.util.function.Supplier<java.lang.String> errorMessageSupplier)
-
validate
public static void validate(boolean condition, java.lang.String errorMessage)
-
validate
public static void validate(boolean condition, java.util.function.Supplier<java.lang.String> errorMessageSupplier)
-
-