Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AssertionFailedException - Exception in com.helixframework.assertion
-
Exception thrown when an assertion fails.
- AssertionFailedException(Require.AssertionType, String) - Constructor for exception com.helixframework.assertion.AssertionFailedException
B
- BOOLEAN - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
C
- com.helixframework.assertion - package com.helixframework.assertion
-
Defines and handles runtime assertions.
- CUSTOM - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
E
- empty(Collection<?>) - Static method in class com.helixframework.assertion.Require
-
Requires that the collection is empty.
- empty(Collection<?>, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the collection is empty.
- EMPTY - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
G
- getAssertionType() - Method in exception com.helixframework.assertion.AssertionFailedException
- getLabel() - Method in enum class com.helixframework.assertion.Require.AssertionType
I
- ifFalsy(String, Runnable) - Static method in class com.helixframework.assertion.Truth
-
Executes a specified action if the provided string value is considered falsy.
- ifFalsy(Supplier<Boolean>, Runnable) - Static method in class com.helixframework.assertion.Truth
-
Executes a specified action if the provided condition evaluates to false.
- ifTruthy(String, Runnable) - Static method in class com.helixframework.assertion.Truth
-
Executes a specified action if the provided string value is considered truthy.
- ifTruthy(Supplier<Boolean>, Runnable) - Static method in class com.helixframework.assertion.Truth
-
Executes a specified action if the provided condition evaluates to true.
- INSTANCE_OF - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
- instanceOf(Object, Class<?>) - Static method in class com.helixframework.assertion.Require
-
Requires that the object is an instance of the type.
- instanceOf(Object, Class<?>, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the object is an instance of the type.
- isFalse(boolean) - Static method in class com.helixframework.assertion.Require
-
Requires that the boolean statement is false.
- isFalse(boolean, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the boolean statement is false.
- isFalse(Supplier<Boolean>, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the function evaluates false.
- isFalsy(String) - Static method in class com.helixframework.assertion.Truth
-
Determines if the given string value is falsy.
- isTrue(boolean) - Static method in class com.helixframework.assertion.Require
-
Requires that the boolean statement is true.
- isTrue(boolean, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the boolean statement is true.
- isTrue(Supplier<Boolean>, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the function evaluates true.
- isTruthy(String) - Static method in class com.helixframework.assertion.Truth
-
Checks if a given string value is truthy.
N
- NON_NULL - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
- nonNullValue(Object) - Static method in class com.helixframework.assertion.Require
-
Requires that the object is not null.
- nonNullValue(Object, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the object is not null.
- nonNullValues(Object...) - Static method in class com.helixframework.assertion.Require
-
Requires that all objects are not null.
- NOT_EMPTY - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
- notEmpty(String) - Static method in class com.helixframework.assertion.Require
-
Requires that the string is not null or empty.
- notEmpty(String, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the string not null or empty.
- notEmpty(Collection<?>) - Static method in class com.helixframework.assertion.Require
-
Requires that the collection is not empty.
- notEmpty(Collection<?>, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the collection is not empty.
- NULL - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
- nullValue(Object) - Static method in class com.helixframework.assertion.Require
-
Requires that the object is null.
- nullValue(Object, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the object is null.
- nullValues(Object...) - Static method in class com.helixframework.assertion.Require
-
Requires that all objects are null.
R
- Require - Class in com.helixframework.assertion
-
Runtime assertion helper.
- Require.AssertionType - Enum Class in com.helixframework.assertion
-
Enumeration of supported assertions.
S
- size(Collection<?>, int) - Static method in class com.helixframework.assertion.Require
-
Requires that the collection is a specific size.
- size(Collection<?>, int, String) - Static method in class com.helixframework.assertion.Require
-
Requires that the collection is a specific size.
- SIZE - Enum constant in enum class com.helixframework.assertion.Require.AssertionType
- SUPPRESS_ASSERTION_ERRORS_SYSTEM_PROP - Static variable in class com.helixframework.assertion.Require
-
System property that when set to anything, but
false, will result in failed assertions being logged instead of raising exceptions.
T
- Truth - Class in com.helixframework.assertion
-
The Truth class provides methods for checking the truthiness of a given string value.
V
- valueOf(String) - Static method in enum class com.helixframework.assertion.Require.AssertionType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.helixframework.assertion.Require.AssertionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form