ComparisonType


public final class ComparisonType


For determining when a threshold has been met or exceeded in a DataTypeCondition.

Summary

Public fields

static final @NonNull ComparisonType

The comparison should be currentValue > threshold.

static final @NonNull ComparisonType

The comparison should be currentValue >= threshold.

static final @NonNull ComparisonType

The comparison should be currentValue < threshold.

static final @NonNull ComparisonType

The comparison should be currentValue <= threshold.

static final @NonNull ComparisonType

The comparison type is unknown, or this library version is too old to recognize it.

Public methods

boolean
equals(Object other)
final int
final @NonNull String
int
@NonNull String

Public fields

GREATER_THAN

public static final @NonNull ComparisonType GREATER_THAN

The comparison should be currentValue > threshold.

GREATER_THAN_OR_EQUAL

public static final @NonNull ComparisonType GREATER_THAN_OR_EQUAL

The comparison should be currentValue >= threshold.

LESS_THAN

public static final @NonNull ComparisonType LESS_THAN

The comparison should be currentValue < threshold.

LESS_THAN_OR_EQUAL

public static final @NonNull ComparisonType LESS_THAN_OR_EQUAL

The comparison should be currentValue <= threshold.

UNKNOWN

public static final @NonNull ComparisonType UNKNOWN

The comparison type is unknown, or this library version is too old to recognize it.

Public methods

equals

public boolean equals(Object other)

getId

Added in 1.0.0
public final int getId()

getName

Added in 1.0.0
public final @NonNull String getName()

hashCode

public int hashCode()

toString

public @NonNull String toString()