Class StoreFormMetaValidationResult

java.lang.Object
de.xima.fc.formstore.StoreFormMetaValidationResult
All Implemented Interfaces:
Serializable

public final class StoreFormMetaValidationResult extends Object implements Serializable
Validation result returned by the StoreFormMetaValidator.
Since:
8.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • StoreFormMetaValidationResult

      public StoreFormMetaValidationResult(Optional<com.vdurmont.semver4j.Semver> requiredVersion, com.google.common.collect.ImmutableSet<String> missingPlugins)
      Parameters:
      requiredVersion - Value returned by getRequiredVersion().
      missingPlugins - Value returned by getMissingPlugins().
  • Method Details

    • getMissingPlugins

      public com.google.common.collect.ImmutableSet<String> getMissingPlugins()
      Returns:
      The technical names of all plugins that are not installed but required for the form store file to function properly.
    • getRequiredVersion

      public Optional<com.vdurmont.semver4j.Semver> 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.