Package org.keycloak.compatibility
Interface CompatibilityResult
public interface CompatibilityResult
The result of
CompatibilityMetadataProvider.isCompatible(Map).
It is composed by the exit code (to help building scripts around this tool as it is easier than parsing logs), and an optional error message.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintexitCode()static CompatibilityResultincompatibleAttribute(String providerId, String attribute, String previousValue, String currentValue) static CompatibilityResultproviderCompatible(String providerId)
-
Method Details
-
exitCode
int exitCode()- Returns:
- The exit code to use to signal the compatibility result.
-
errorMessage
- Returns:
- An optional error message explaining what caused the incompatibility.
-
endMessage
- Returns:
- An optional message after the check is finished.
-
incompatibleAttributes
-
providerCompatible
-
incompatibleAttribute
static CompatibilityResult incompatibleAttribute(String providerId, String attribute, String previousValue, String currentValue)
-