Class StoreFormMetaValidationResult

    • Constructor Detail

      • 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 Detail

      • 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.