Package de.xima.fc.formstore
Class StoreFormMetaValidationResult
java.lang.Object
de.xima.fc.formstore.StoreFormMetaValidationResult
- All Implemented Interfaces:
Serializable
Validation result returned by the
StoreFormMetaValidator
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStoreFormMetaValidationResult
(Optional<com.vdurmont.semver4j.Semver> requiredVersion, com.google.common.collect.ImmutableSet<String> missingPlugins) -
Method Summary
-
Constructor Details
-
StoreFormMetaValidationResult
public StoreFormMetaValidationResult(Optional<com.vdurmont.semver4j.Semver> requiredVersion, com.google.common.collect.ImmutableSet<String> missingPlugins) - Parameters:
requiredVersion
- Value returned bygetRequiredVersion()
.missingPlugins
- Value returned bygetMissingPlugins()
.
-
-
Method Details
-
getMissingPlugins
- Returns:
- The technical names of all plugins that are not installed but required for the form store file to function properly.
-
getRequiredVersion
- Returns:
- Empty when the version is compatible with the current formcycle version. When not empty, the minimum formcycle version required for the form store file.
-
isValid
public boolean isValid()- Returns:
true
when no validations are present in this result,false
otherwise.
-