Class ValidationResult

java.lang.Object
dev.demeng.sentinel.client.license.validation.ValidationResult

public final class ValidationResult extends Object
The result of a license validation request.

Check isValid() to determine whether the license is valid. On success, getDetails() provides the license details. On failure, getType() and getMessage() describe the reason, and getFailureDetails() may provide additional context for certain failure types.

Alternatively, use requireValid() to throw a LicenseValidationException if the license is not valid.