Package com.atlassian.sal.api.validate
Class LicenseValidationError
java.lang.Object
com.atlassian.sal.api.validate.LicenseValidationError
The license validation error details.
- Since:
- 4.2
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseValidationError(LicenseErrorCode licenseErrorCode, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionThese should normally be localised to the end user's locale.
-
Constructor Details
-
LicenseValidationError
public LicenseValidationError(@Nonnull LicenseErrorCode licenseErrorCode, @Nonnull String errorMessage)
-
-
Method Details
-
getLicenseErrorCode
- Returns:
- The error type.
-
getErrorMessage
These should normally be localised to the end user's locale.- Returns:
- Warning message to explain what is wrong.
-