Interface IInfobasePublicationValidator

  • public interface IInfobasePublicationValidator
    Validates existing infobase publications. Validates publication fields content, syntax, target infobase existence, etc.
    • Method Detail

      • validate

        org.eclipse.core.runtime.IStatus validate​(InfobasePublication publication,
                                                  Path storeLocation)
        Validates Publication and return validation status with errors and warnings.

        Returned status will always be a multi-status with children.

        publication - the publication to validate, cannot be null
        storeLocation - a path to the infobase publication store file, cannot be null
        validation status with errors and warnings or OK status if publication content is correct, always will be a multi-status