Interface IConfigurationImportValidator


  • public interface IConfigurationImportValidator
    Validate imported configuration for support condition
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.core.runtime.IStatus validate​(String xmlFormatVersion, Configuration configuration)
      Validate given configuration and version of xml format
      org.eclipse.core.runtime.IStatus validate​(String xmlFormatVersion, String defaultRunMode, String compatibilityMode, String interfaceCompatibilityMode, boolean isOnlyMobileDevice)
      Validate given version of xml format and configuration properties
    • Method Detail

      • validate

        org.eclipse.core.runtime.IStatus validate​(String xmlFormatVersion,
                                                  Configuration configuration)
        Validate given configuration and version of xml format
        Parameters:
        xmlFormatVersion - text representation of xml format version, can be null
        configuration - the validation Configuration, cannot be null
        Returns:
        validation result status, never null
      • validate

        org.eclipse.core.runtime.IStatus validate​(String xmlFormatVersion,
                                                  String defaultRunMode,
                                                  String compatibilityMode,
                                                  String interfaceCompatibilityMode,
                                                  boolean isOnlyMobileDevice)
        Validate given version of xml format and configuration properties
        Parameters:
        xmlFormatVersion - text representation of xml format version, can be null
        defaultRunMode - the configuration defaul run mode text representation, cannot be null
        compatibilityMode - the configuration compatibility mode text representation, cannot be null
        interfaceCompatibilityMode - the configuration interface compatibility mode text representation, cannot be null
        isOnlyMobileDevice - true if configuration use purposes only for mobile device, false in otherwise
        Returns:
        validation result status, never null